Commit Graph

3205 Commits

Author SHA1 Message Date
Hiram R. Chirino 76b2a3ed8f Fix for AMQ-1343 - Network conntions not shutdown propertly when a InvalidClientIDException occurs
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@559139 13f79535-47bb-0310-9956-ffa450edef68
2007-07-24 17:51:32 +00:00
Hiram R. Chirino 7c94a73ba6 Fix for AMQ-1342 - Added backoff delay in generating discovery events when broker failures are reported
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@559132 13f79535-47bb-0310-9956-ffa450edef68
2007-07-24 17:43:26 +00:00
Hiram R. Chirino 97a591f08f Fix for AMQ-1341 - Improve the InvalidClientIDException message so that we know where the previous connection was established from.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@559111 13f79535-47bb-0310-9956-ffa450edef68
2007-07-24 17:08:31 +00:00
Hiram R. Chirino 5a3a45f0c0 Fix for AMQ-1340 - Thread gets stuck in a WAIT and never returns
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@559092 13f79535-47bb-0310-9956-ffa450edef68
2007-07-24 16:19:43 +00:00
Hiram R. Chirino 8f6fac7f1b Fix for AMQ-1339 - Give the connection dispatcher threads names that are easy to associate with the peer.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@559071 13f79535-47bb-0310-9956-ffa450edef68
2007-07-24 15:01:32 +00:00
Hiram R. Chirino 3a7c673dec https://issues.apache.org/activemq/browse/AMQ-1337 - Broker should finish accepting connection in an async thread.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@558814 13f79535-47bb-0310-9956-ffa450edef68
2007-07-23 18:02:41 +00:00
Robert Davies 20364163e9 applied patch for https://issues.apache.org/activemq/browse/AMQ-1254
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@558774 13f79535-47bb-0310-9956-ffa450edef68
2007-07-23 15:27:43 +00:00
Hiram R. Chirino 6ce8c3bf87 AMQ-1335 - Exclusive consumers are now selected up front when the consumer gets registered.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@558767 13f79535-47bb-0310-9956-ffa450edef68
2007-07-23 15:09:28 +00:00
Robert Davies a414c20dcb Fix for:
http://issues.apache.org/activemq/browse/AMQ-1207
http://issues.apache.org/activemq/browse/AMQ-880
http://issues.apache.org/activemq/browse/AMQ-450
http://issues.apache.org/activemq/browse/AMQ-879

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@558054 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 17:08:10 +00:00
Robert Davies cfdc5e3de3 fix null pointer in test case
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@558052 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 17:03:39 +00:00
Robert Davies 2d5bb84a47 Applying patch for http://issues.apache.org/activemq/browse/AMQ-1323
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@558044 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 16:47:40 +00:00
Robert Davies 83a6eff431 move decision about being a slave from the Broker to the ConnectionContext - so can be done on a Connection basis if required
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@557748 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 19:24:31 +00:00
Robert Davies 993f78caac persist in-progress XA transactions - in order to speed up recovery
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@557391 13f79535-47bb-0310-9956-ffa450edef68
2007-07-18 20:34:19 +00:00
Robert Davies 2438ada6ad Split out Transaction class from AMQTrandactionStore -
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@557389 13f79535-47bb-0310-9956-ffa450edef68
2007-07-18 20:32:45 +00:00
Robert Davies 3d1fca08fe Added some java doc
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@557386 13f79535-47bb-0310-9956-ffa450edef68
2007-07-18 20:31:09 +00:00
Robert Davies 3cfa0b6e4d Add a CommandMarshaller
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@557385 13f79535-47bb-0310-9956-ffa450edef68
2007-07-18 20:30:21 +00:00
Robert Davies 71a3324b93 implement Comparable (well, badly)
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@557384 13f79535-47bb-0310-9956-ffa450edef68
2007-07-18 20:29:13 +00:00
Adrian T. Co 26f4d2a413 Print help, if an invalid argument is given to the command line.
https://issues.apache.org/activemq/browse/AMQ-1314

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@555911 13f79535-47bb-0310-9956-ffa450edef68
2007-07-13 08:30:44 +00:00
Adrian T. Co 073f05cc6f Created an activemq-all.jar bundle
http://issues.apache.org/activemq/browse/AMQ-1318

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@555882 13f79535-47bb-0310-9956-ffa450edef68
2007-07-13 05:45:09 +00:00
James Strachan e34185fa01 fixed build...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@554910 13f79535-47bb-0310-9956-ffa450edef68
2007-07-10 11:36:52 +00:00
Robert Davies 44b1aa59c0 added savePreparedState() stub
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@554826 13f79535-47bb-0310-9956-ffa450edef68
2007-07-10 05:10:52 +00:00
James Strachan 677c22b4d5 Added support for custom destinations; for example to allow Camel endpoints to be used from within the JMS client
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@554315 13f79535-47bb-0310-9956-ffa450edef68
2007-07-08 05:39:00 +00:00
James Strachan 806013ea62 Enabled the camel route by default; folks can easily disable it
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@553766 13f79535-47bb-0310-9956-ffa450edef68
2007-07-06 06:58:49 +00:00
James Strachan 9840a420cf Fixed up the assembly so that the embedded camel routes actually work; they were dependent on the JTA jar being present so this was causing ClassNotFoundException if you actually fired messages into the from queue
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@553763 13f79535-47bb-0310-9956-ffa450edef68
2007-07-06 06:51:12 +00:00
James Strachan 3d862f0dfb allow the exclusive queue consumer flag to be defaulted on a connection factory / connection
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@553473 13f79535-47bb-0310-9956-ffa450edef68
2007-07-05 12:21:37 +00:00
Robert Davies 94f3e17d7b pretty print the local transport uri
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@553095 13f79535-47bb-0310-9956-ffa450edef68
2007-07-04 06:34:28 +00:00
Robert Davies 4757541f96 set async=false for network connectors
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@553094 13f79535-47bb-0310-9956-ffa450edef68
2007-07-04 06:33:48 +00:00
Robert Davies 241971a133 fix deadlock
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@553076 13f79535-47bb-0310-9956-ffa450edef68
2007-07-04 04:44:00 +00:00
James Strachan b0538fcc66 added support for AMQ-1307 so that enterprise integration patterns can be used easily in the broker. For more help see the documentation: http://cwiki.apache.org/ACTIVEMQ/enterprise-integration-patterns.html
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@552926 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 17:37:10 +00:00
Robert Davies 0b95f87db0 ensure we don't use a batchEntry for an element that's deleted
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@552845 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 14:06:38 +00:00
Robert Davies 25a252f348 Added duplicate detection to the TransactionBroker - so can cope with rollbacks etc.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@552738 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 08:31:10 +00:00
Robert Davies c7469c433c Added flag to transport to denote if its fault tolerant
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@552736 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 08:29:11 +00:00
Robert Davies f1240b2e72 Tests for internals
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@552734 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 08:24:26 +00:00
Robert Davies 82ce164d7a Do this test properly
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@552733 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 08:23:15 +00:00
Robert Davies 4b7e5c914b Audit test case
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@552732 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 08:21:28 +00:00
Robert Davies 791d78bc64 Added another Constructor for convience that just takes the maximum number of cached items as a parameter
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@552726 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 08:21:00 +00:00
Robert Davies cbaa58b508 Added duplicate detection on the client
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@552713 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 08:19:33 +00:00
Robert Davies 5f30e418cb A helper class to assist checking for duplicates within the Connection
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@552710 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 08:17:10 +00:00
Jonas B. Lim 7029d9b058 https://issues.apache.org/activemq/browse/AMQ-1306
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@552645 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 02:04:07 +00:00
Robert Davies dd1d660149 Added dup detection capability
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@551902 13f79535-47bb-0310-9956-ffa450edef68
2007-06-29 14:07:46 +00:00
James Strachan 56be6b93d3 make sure we properly close down the advisory consumer; great catch by Manuel!
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@551857 13f79535-47bb-0310-9956-ffa450edef68
2007-06-29 11:34:20 +00:00
Hiram R. Chirino ec6e6a55a7 Display the establised Neteowork Connector Bridges via JMX - https://issues.apache.org/activemq/browse/AMQ-1299
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@551443 13f79535-47bb-0310-9956-ffa450edef68
2007-06-28 04:34:57 +00:00
Robert Davies b56197408a Test using the AMQ Store
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@551437 13f79535-47bb-0310-9956-ffa450edef68
2007-06-28 03:43:05 +00:00
Robert Davies a3e382199c ensure member variables are always synchronized
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@551271 13f79535-47bb-0310-9956-ffa450edef68
2007-06-27 18:53:30 +00:00
James Strachan 8a0157a506 added better synchronization
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@550797 13f79535-47bb-0310-9956-ffa450edef68
2007-06-26 13:06:32 +00:00
James Strachan 8a5387f6ad avoid concurrent modification exception on linux
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@550796 13f79535-47bb-0310-9956-ffa450edef68
2007-06-26 13:04:40 +00:00
James Strachan f6e1ac7f97 added NPE check
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@550793 13f79535-47bb-0310-9956-ffa450edef68
2007-06-26 12:56:08 +00:00
Robert Davies 8068c5e155 debug showing wrong parameter
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@550699 13f79535-47bb-0310-9956-ffa450edef68
2007-06-26 05:38:14 +00:00
Robert Davies 98cd515fff fix for shutdown command
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@550698 13f79535-47bb-0310-9956-ffa450edef68
2007-06-26 05:36:43 +00:00
Robert Davies bc281a209e check input stream is not null on loading properties
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@550695 13f79535-47bb-0310-9956-ffa450edef68
2007-06-26 05:13:54 +00:00