Commit Graph

192 Commits

Author SHA1 Message Date
Adrian T. Co f6735ea870 Fix typo in method name.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@375179 13f79535-47bb-0310-9956-ffa450edef68
2006-02-06 05:16:33 +00:00
Robert Davies 6ea186cf65 seperate inbound and outbound message convertors
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@375088 13f79535-47bb-0310-9956-ffa450edef68
2006-02-05 19:58:14 +00:00
Robert Davies bf8f99b51d remove System.err println
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@375087 13f79535-47bb-0310-9956-ffa450edef68
2006-02-05 19:56:10 +00:00
Robert Davies 641140ebab Forced to copy message before leaving the consumer - as the destination could change if
the message is forwarded on.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@374795 13f79535-47bb-0310-9956-ffa450edef68
2006-02-04 00:35:53 +00:00
Robert Davies e1bc55dafe separate JndiTemplate into local and outbound
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@374729 13f79535-47bb-0310-9956-ffa450edef68
2006-02-03 19:22:40 +00:00
Frederick G. Oconer 82d60e1291 make Serializable to prevent NotSerializableException in weblogic (AMQ-501) - Patrick Villacorta
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@374605 13f79535-47bb-0310-9956-ffa450edef68
2006-02-03 08:48:25 +00:00
Robert Davies a1c4eb6d48 return IntegerResponse from prepareTransaction()
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@374309 13f79535-47bb-0310-9956-ffa450edef68
2006-02-02 08:56:23 +00:00
Guillaume Nodet 3a0358ee17 Fix threading problems in the DemandForwardingBridge.java
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@374292 13f79535-47bb-0310-9956-ffa450edef68
2006-02-02 07:47:16 +00:00
Robert Davies d517eebfbc put back default Constructor on NetworkConnector - for now.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@374288 13f79535-47bb-0310-9956-ffa450edef68
2006-02-02 06:54:17 +00:00
Robert Davies 4d9ab0cffc Added setter for the MBeanServer
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@374137 13f79535-47bb-0310-9956-ffa450edef68
2006-02-01 18:26:36 +00:00
Robert Davies 7f634906d0 log execption and fire to exception listener if exception thrown
in run() method

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@374101 13f79535-47bb-0310-9956-ffa450edef68
2006-02-01 16:28:57 +00:00
Robert Davies e62711760b corrected javadoc
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@374064 13f79535-47bb-0310-9956-ffa450edef68
2006-02-01 13:37:28 +00:00
Robert Davies 5a429d90bb Fixes for networks and the invalid Brokers caper
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@373863 13f79535-47bb-0310-9956-ffa450edef68
2006-01-31 16:35:13 +00:00
Robert Davies 3e7ebc2368 Add a check to the iterate() so that on failover - it's not possible
to iterate for ever if the transport has actually been stopped

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@373862 13f79535-47bb-0310-9956-ffa450edef68
2006-01-31 16:31:21 +00:00
James Strachan 2ae7169856 removed possible NPE
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@373809 13f79535-47bb-0310-9956-ffa450edef68
2006-01-31 12:33:44 +00:00
James Strachan e6747ead95 patch and test case for AMQ-514 to make BrokerInfo and the broker name visible to an ActiveMQConnection
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@373548 13f79535-47bb-0310-9956-ffa450edef68
2006-01-30 16:59:01 +00:00
James Strachan 9c0d3ce072 added better debug tracing so that destinations are explicit in whether they are a queue or topic
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@372952 13f79535-47bb-0310-9956-ffa450edef68
2006-01-27 19:33:21 +00:00
Robert Davies 233b604642 check if a broker held by the TransportConnector is stopped before asigning it for re-use (i.e. VMTransportServer)
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@372910 13f79535-47bb-0310-9956-ffa450edef68
2006-01-27 17:00:26 +00:00
Gregory John Wilkins 6a70920b20 notify listener after the enqueue
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@372844 13f79535-47bb-0310-9956-ffa450edef68
2006-01-27 13:31:17 +00:00
James Strachan 2f944a19e3 added fix for issue reported on forum: http://forums.activemq.org/posts/list/0/60.page
where on startup we get the following exception when using mysql

java.io.IOException: Can't call commit when autocommit=true 
at org.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:44) 
at org.activemq.store.jdbc.TransactionContext.close(TransactionContext.java:113) 
at org.activemq.store.jdbc.JDBCPersistenceAdapter.getAdapter(JDBCPersistenceAdapter.java:253) 
at org.activemq.store.jdbc.JDBCPersistenceAdapter.start(JDBCPersistenceAdapter.java:140) 

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@372805 13f79535-47bb-0310-9956-ffa450edef68
2006-01-27 10:16:16 +00:00
James Strachan 8fbbd24122 fixed typeo
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@372800 13f79535-47bb-0310-9956-ffa450edef68
2006-01-27 10:02:05 +00:00
James Strachan 3d18a3dc7b made the adapter class configurable on the <journaledJDBC adapterClass="...."/>
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@372799 13f79535-47bb-0310-9956-ffa450edef68
2006-01-27 09:57:38 +00:00
James Strachan 40ce55be77 added extra NPE check
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@372519 13f79535-47bb-0310-9956-ffa450edef68
2006-01-26 12:40:12 +00:00
Robert Davies afcefa0111 Added durable topic test for master/slave
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@372300 13f79535-47bb-0310-9956-ffa450edef68
2006-01-25 20:06:17 +00:00
Robert Davies 8b04e15826 Fixes for Master-Slave functionality
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@372050 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 23:08:29 +00:00
Hiram R. Chirino b2039fb1c2 Fix for https://jira.logicblaze.com/jira/browse/AMQ-494
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@371949 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 16:02:42 +00:00
Robert Davies fd156f833a send back responses
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@371910 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 13:34:59 +00:00
Adrian T. Co 4b8822f154 - Added task to browse a queue for messages that includes the ability to query for selected messages only, and specify the properties to view. (Still considering adding one for topics too)
- Redesigned the querying mechanism to allow easy insertion and/or extension of specific querying filters
- Redesigned the output mechanism to allow easy inclusion of different output formatters (i.e. output in command shell friendly format, script friendly format, xml format, etc.)
- Currently have just included a not-so-friendly command shell formatter. :) Have plans to modify this and maybe include an xml formatter and/or script friendly formatter.

PS: I plan to move the console package outside activemq-core and include some unit tests with it sometime in the very near future. I know its kinda messy right know. :)

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@371880 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 10:23:34 +00:00
Dennis Cook f9a763586a AMQ-500 reconciled windows start script with o.a.a.broker.Main
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@371767 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 01:38:07 +00:00
Hiram R. Chirino d2d1c6d63d The Transport Connection now notifies it's Connector of lifecycle events so that the Connector does not have to wrap the broker in yet another filter to notice the connection's lifecycle events.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@371636 13f79535-47bb-0310-9956-ffa450edef68
2006-01-23 19:40:42 +00:00
Robert Davies 71afa0ded9 removed sleep from stop() method
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@371590 13f79535-47bb-0310-9956-ffa450edef68
2006-01-23 16:48:10 +00:00
Hiram R. Chirino c3c0ea7265 Applied patch reported by christopher.kingsbury@gmail.com
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@370926 13f79535-47bb-0310-9956-ffa450edef68
2006-01-20 23:14:35 +00:00
Hiram R. Chirino ef94b843cc removed unused line
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@370901 13f79535-47bb-0310-9956-ffa450edef68
2006-01-20 21:35:09 +00:00
Robert Davies 5b2e9be749 added messageSent() method - so can hook in failure tests in derived unit tests
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@370330 13f79535-47bb-0310-9956-ffa450edef68
2006-01-19 00:34:52 +00:00
Robert Davies 4098942c1e Added master/slave functionality to the Broker
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@370223 13f79535-47bb-0310-9956-ffa450edef68
2006-01-18 19:16:58 +00:00
Jonas B. Lim 377780985c added additional test cases for the other stomp verbs/features
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@370081 13f79535-47bb-0310-9956-ffa450edef68
2006-01-18 09:10:49 +00:00
Dennis Cook d3aa9bf2be Allow defeat of auto include of $ACTIVEMQ_HOME/conf in classpath (after refactor)
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@369868 13f79535-47bb-0310-9956-ffa450edef68
2006-01-17 19:05:51 +00:00
Adrian T. Co b9a4deed5d - Made ActiveMQConnectionFactory and ActiveMQDestination referenceable.
- Ported to 4.x the jndi implementation from 3.x (JNDIStorableInterface, JNDIBaseStorable, JNDIReferenceFactory)
- Added a simple test case to test the object factory.


git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@369411 13f79535-47bb-0310-9956-ffa450edef68
2006-01-16 09:58:02 +00:00
Hiram R. Chirino 23334ff9a6 Protect against recursing.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@369174 13f79535-47bb-0310-9956-ffa450edef68
2006-01-15 03:41:03 +00:00
Adrian T. Co 2ddd372cad Added initial implementation to make ActiveMQConnectionFactory and ActiveMQDestination referenceable.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@368957 13f79535-47bb-0310-9956-ffa450edef68
2006-01-14 02:10:14 +00:00
Hiram R. Chirino 982a119ba6 Renamed the *Task stuff to *Command, the Main method now just only calls the DefaultCommand, which delegates to the other commands.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@368942 13f79535-47bb-0310-9956-ffa450edef68
2006-01-14 01:08:12 +00:00
Dennis Cook 4d7ea5ef6e Allow defeat of auto include of $ACTIVEMQ_HOME/conf in classpath
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@368924 13f79535-47bb-0310-9956-ffa450edef68
2006-01-13 23:55:19 +00:00
Dennis Cook eef9202675 AMQ-484: Restore discoveryUri when replacing TransportConnector with ManagedTransportConnector
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@368911 13f79535-47bb-0310-9956-ffa450edef68
2006-01-13 23:11:20 +00:00
Adrian T. Co 70c2d886d1 Refactored the main class to several task class and use the main class to bootstrap each task.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@368560 13f79535-47bb-0310-9956-ffa450edef68
2006-01-13 02:52:57 +00:00
Robert Davies af9f61015d Adding some changes to support master/slave
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@368075 13f79535-47bb-0310-9956-ffa450edef68
2006-01-11 18:15:13 +00:00
Adrian T. Co 1a9d2862a4 - Added two broker test where each broker has a client that connects and disconnects and the destination is a queue
- Minor updates to some of the test cases and test support

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367958 13f79535-47bb-0310-9956-ffa450edef68
2006-01-11 07:43:05 +00:00
James Strachan da77d2c649 fix to allow a foreign JMS message ID to be set on an ActiveMQMessage
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367741 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 19:14:01 +00:00
Hiram R. Chirino ffad45edff Fix for https://jira.logicblaze.com/jira/browse/AMQ-470
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367724 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 18:42:30 +00:00
Hiram R. Chirino a7785c6a54 - make the group sequences 0 based to match producer message sequences which are also 0 based
- fixed bucket hashing method to handle cases where the group id hashes to a negative number.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367676 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 16:33:13 +00:00
Hiram R. Chirino 6397d0560b pass on async exceptions to the Exception listener
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367673 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 16:28:24 +00:00