Commit Graph

2512 Commits

Author SHA1 Message Date
Robert Davies 1e3e5b7223 Fix for http://issues.apache.org/activemq/browse/AMQ-1294
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@560693 13f79535-47bb-0310-9956-ffa450edef68
2007-07-29 08:54:49 +00:00
Hiram R. Chirino 3b73e60233 Fix for http://issues.apache.org/activemq/browse/AMQ-1348
Better file locking on windows.  We now use a seperate lock file to signifiy the lock on the kaha db.



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@560352 13f79535-47bb-0310-9956-ffa450edef68
2007-07-27 18:49:47 +00:00
Hiram R. Chirino 9d2e5418fe Added a handy processingDelay option to the MessageIdList so that a test case and simulate a slow consumer
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@560294 13f79535-47bb-0310-9956-ffa450edef68
2007-07-27 16:02:04 +00:00
Hiram R. Chirino d56ebd842d fix for AMQ-1346.. moved handling the not full event into the queue's task runner to avoid deadlocks and the recursiveness of the pagIn call that was
causing the Illeagal state exception.



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@560282 13f79535-47bb-0310-9956-ffa450edef68
2007-07-27 15:42:31 +00:00
Robert Davies 956fe93bd2 No need to create destination twice when doing a destination lookup
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@560274 13f79535-47bb-0310-9956-ffa450edef68
2007-07-27 15:29:51 +00:00
Hiram R. Chirino 6a928d5cfe - Made the dispatchValve handling a little safer.. it was previously possible that an exception could cause the broker to miss turning it off before trying to turn it on.
- better producer flow control logic, was not working for sync send producers without a window


git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@559915 13f79535-47bb-0310-9956-ffa450edef68
2007-07-26 18:07:16 +00:00
Hiram R. Chirino 3b88ba0c47 Fix for AMQ-1344 - Deadlock can occur when cerating and deleting many destinations concurrently
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@559155 13f79535-47bb-0310-9956-ffa450edef68
2007-07-24 18:27:49 +00:00
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