Commit Graph

3877 Commits

Author SHA1 Message Date
Bosanac Dejan 8f80e34292 additional fix for https://issues.apache.org/activemq/browse/AMQ-2086 - remove commons-lang dependency
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@764377 13f79535-47bb-0310-9956-ffa450edef68
2009-04-13 08:51:03 +00:00
Bosanac Dejan d185430ffe Fix for https://issues.apache.org/activemq/browse/AMQ-2086 - duplex connector and excluded destinations
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@763993 13f79535-47bb-0310-9956-ffa450edef68
2009-04-10 17:58:32 +00:00
Gary Tully 3da13732ec some additional tests for AMQ-2198|https://issues.apache.org/activemq/browse/AMQ-2198, also additional logging
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@763983 13f79535-47bb-0310-9956-ffa450edef68
2009-04-10 17:31:40 +00:00
Gary Tully bcbb1ec1de add verifier test for set/get exception listener on pooled connection
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@763947 13f79535-47bb-0310-9956-ffa450edef68
2009-04-10 14:32:30 +00:00
Bosanac Dejan 97ed8c0283 fix for https://issues.apache.org/activemq/browse/AMQ-1622 - enqueue and dequeue in web console
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@763765 13f79535-47bb-0310-9956-ffa450edef68
2009-04-09 18:33:22 +00:00
Gary Tully 966658fdad resolve AMQ-2199|https://issues.apache.org/activemq/browse/AMQ-2199 add a latch for the event that initialises the localbrokerid and path
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@763565 13f79535-47bb-0310-9956-ffa450edef68
2009-04-09 09:05:17 +00:00
Gary Tully 5b8a886891 tidy up logging for network connectors, make debug level usefull
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@762996 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 22:16:53 +00:00
Gary Tully 5511217fb1 implement AMQ-2198|https://issues.apache.org/activemq/browse/AMQ-2198 add setSuppressDuplicateQueueSubscriptions option to Network configuration, when true, duplicate subs for the same consumer will be suppressed, relevant when networkTTL > 1
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@762925 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 19:48:29 +00:00
Gary Tully 9f548bb74a ensure duplicate acks are send immediatly and supppress outstanding delivery acks on transport resumption, AMQ-2149|https://issues.apache.org/activemq/browse/AMQ-2149
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@762464 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 19:20:12 +00:00
Gary Tully 21cd3e69c6 tidy up logging
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@762287 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 11:32:33 +00:00
Gary Tully 1f4757b9d1 revert prefetch and maxPageSize to defaults to transaction tests, issue was negative inflight count due to duplicate acks, prefetch and max page size was a just a workaround that is not now needed AMQ-2149|https://issues.apache.org/activemq/browse/AMQ-2149
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@761610 13f79535-47bb-0310-9956-ffa450edef68
2009-04-03 10:57:40 +00:00
Gary Tully e45bb06907 further tests and fixes related to failover, this time transactions and topics. prefetch and maxPageSize are relevant in the transacted. With redeliveries the prefetch needs to be less than half the transaction size and the maxPageSize needs to exceed the transaction span. more tests in AMQ-2149|https://issues.apache.org/activemq/browse/AMQ-2149 and some amendments to the fixes for that issue
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@761597 13f79535-47bb-0310-9956-ffa450edef68
2009-04-03 10:16:28 +00:00
Bosanac Dejan f8ef7ff31f https://issues.apache.org/activemq/browse/AMQ-2195 - receive should throw an exception if the connection is lost
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@761301 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 14:03:54 +00:00
Bosanac Dejan cd174e7829 fix for https://issues.apache.org/activemq/browse/AMQ-2192 - Protobuf module fails to build
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@760910 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 15:07:16 +00:00
Gary Tully eab5a3a2e2 topic version of test case for AMQ-2149|https://issues.apache.org/activemq/browse/AMQ-2149 with associated fixes to suppress duplicates and out of order messages
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@760721 13f79535-47bb-0310-9956-ffa450edef68
2009-03-31 23:10:04 +00:00
Gary Tully c8e518b2dc fix duplicate detection of messages recovered when space limit is reached and fix cursor cache reenablement when free space becomes available, AMQ-2149
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@760075 13f79535-47bb-0310-9956-ffa450edef68
2009-03-30 18:04:20 +00:00
Bosanac Dejan 69946d9805 fix for https://issues.apache.org/activemq/browse/AMQ-2097 - missing jar dependency for activemq-xmpp
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@760045 13f79535-47bb-0310-9956-ffa450edef68
2009-03-30 16:58:24 +00:00
Gary Tully b896467146 make single ack id visible
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@759125 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 13:02:36 +00:00
Gary Tully 24dced675c add some redirection to the deprecated method
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@758908 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 22:49:46 +00:00
Bosanac Dejan d2e9236f30 fix for https://issues.apache.org/activemq/browse/AMQ-2182;apache-camel test failures
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@758789 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 18:30:51 +00:00
Gary Tully 9a0de1ccaf exercise the features of AMQ-2168|https://issues.apache.org/activemq/browse/AMQ-2168 enhanced LoggingBrokerPlugin
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@758779 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 18:08:01 +00:00
Gary Tully 681d149ffd apply patch from AMQ-2168|https://issues.apache.org/activemq/browse/AMQ-2168 enhanced LoggingBrokerPlugin
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@758777 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 18:00:43 +00:00
Hiram R. Chirino 3d64397cbf Added support for creating BTreeIndex objects with a default constructor.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@758732 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 16:42:52 +00:00
Gary Tully 84dbbc758b patch applied with thanks: AMQ-2178|https://issues.apache.org/activemq/browse/AMQ-2178
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@758721 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 16:27:35 +00:00
Gary Tully 132f662209 resolve AMQ-2149|https://issues.apache.org/activemq/browse/AMQ-2149 - isses with kaha reference store and duplicate messages, recovery of duplicaes and recovery with memory limits and session duplicate acks resulting in out of order message dispatch, more detail in the jira and test case
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@758678 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 15:22:57 +00:00
Bosanac Dejan 27ea85e15a just a minor improvement over the previous commit (758293)
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@758294 13f79535-47bb-0310-9956-ffa450edef68
2009-03-25 15:07:15 +00:00
Bosanac Dejan 65aef36600 getBody() does not throw exceptions any more, changed to 2.0 approach
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@758293 13f79535-47bb-0310-9956-ffa450edef68
2009-03-25 15:03:58 +00:00
Gary Tully 31c7e620c2 add waitUntilStarted to broker service so it is possible to wait till recovery is complete
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@758268 13f79535-47bb-0310-9956-ffa450edef68
2009-03-25 14:30:50 +00:00
Gary Tully fb9a292be1 share the test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@758200 13f79535-47bb-0310-9956-ffa450edef68
2009-03-25 10:17:45 +00:00
Bosanac Dejan 42d91a3b79 fix for https://issues.apache.org/activemq/browse/AMQ-2179; xpath selectors and boolean expressions
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@758184 13f79535-47bb-0310-9956-ffa450edef68
2009-03-25 09:12:52 +00:00
Gary Tully 86ec0553c5 further tests for AMQ-2149
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@756469 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 14:06:45 +00:00
Gary Tully 08aecbee6e partial fix for AMQ2149|http://issues.apache.org/activemq/browse/AMQ-2149 , contention when usage limit reached can lead to out or order mesage dispatch
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@755715 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 19:49:39 +00:00
Bosanac Dejan a1cccb9ed9 adding java.net repository
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@755538 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 10:33:48 +00:00
Gary Tully 7b16aec2c0 apply patch from https://issues.apache.org/activemq/browse/AMQ-2154, with thanks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@754973 13f79535-47bb-0310-9956-ffa450edef68
2009-03-16 18:22:41 +00:00
Hiram R. Chirino 6e989edaa1 The useInactivityMonitor option can now be used to disable configuring a inactivity montior on the transport.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@754963 13f79535-47bb-0310-9956-ffa450edef68
2009-03-16 17:22:40 +00:00
Hiram R. Chirino b41e1a7579 Making handly CONSTANT public
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@754962 13f79535-47bb-0310-9956-ffa450edef68
2009-03-16 17:21:45 +00:00
Hiram R. Chirino 95ff01053a Allow the negociation protocol to be used when not inserted as a transport filter.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@754959 13f79535-47bb-0310-9956-ffa450edef68
2009-03-16 17:13:20 +00:00
Gary Tully 3b06e128f9 resolve: AMQ-2144|https://issues.apache.org/activemq/browse/AMQ-2144 - patch applied with thanks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@753297 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 15:18:27 +00:00
Bosanac Dejan 2a58f4c3a2 fix for https://issues.apache.org/activemq/browse/AMQ-2160
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@753222 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 12:33:18 +00:00
Gary Tully a91f59a201 resolve AMQ-2153|https://issues.apache.org/activemq/browse/AMQ-2153
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@753221 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 12:29:23 +00:00
Gary Tully 369b1b50ff resolve AMQ-2150, thanks Bruce, patch applied
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@753218 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 12:19:41 +00:00
Gary Tully f9d5449f47 resolve AMQ-2102|https://issues.apache.org/activemq/browse/AMQ-2102 - refactor message dispatch on slave to take account of subscription choice on the master, this ensures slave is in sync w.r.t outstanding acks. processDispatchNotification imoplemented by Queue type destinations which delegates to subscription after doing a dispatch, test demonstrates slve out of sync errors
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@753214 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 11:59:08 +00:00
Bosanac Dejan b514d3fb4b fix for https://issues.apache.org/activemq/browse/AMQ-1324
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@751656 13f79535-47bb-0310-9956-ffa450edef68
2009-03-09 12:03:14 +00:00
Gary Tully 6d9163af39 seems to hang on slow HP box, ensure it does not stop rest of the tests using autoFailSupport
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@750885 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 13:20:50 +00:00
Gary Tully c7b48c4757 little more info in exception
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@750537 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 18:25:59 +00:00
Gary Tully b56cb8f3e2 AMQ-2094. fix break of org.apache.activemq.transport.tcp.SslContextNBrokerServiceTest where localhost and host name resolve to different interfaces as now the broker just listens on one interface unless ip:0.0.0.0 is used. The connectorUri did nore reflect the socket
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@750532 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 18:16:13 +00:00
Gary Tully 212a7904a9 fix AMQ-2102, apply patch from ying with test from dan, the test shows stack traces on console re slave out of sync, patch resolved this
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@750455 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 13:25:44 +00:00
David Jencks 563ec4433a AMQ-2094 Apply patch to allow binding to specific IP address
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@749464 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 23:07:22 +00:00
Gary Tully d458a5d17f fix org.apache.kahadb.journal.JournalTest.testBatchWriteCompleteAfterClose() after changes for AMQ-2143, the file and offset in a location are set after an enqueue to a write batch, so doing the inflight add just overwrote the same entry, -1:-1. Which fixed the leak but broke inflights, proper fix is to do the inflight addition in enqueue, just after the location details are known and with a lock on appender enqueue
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@748475 13f79535-47bb-0310-9956-ffa450edef68
2009-02-27 10:22:50 +00:00
Gary Tully 3266019825 resolve broker unit test testReceiveTwoThenCloseConnection(org.apache.activemq.ra.JmsXAQueueTransactionTest): ra test uses Auto ack mode but the xa tx has been cleaned up so amq just sees a close on auto ack so it delivers the ack. AMQ-2128 Keeping the tx around till after the close sorts this out. One question though, with the ack mode supposed to be ignored, does it makes sense for the RA to use a transacted ack mode when there is a transaction?
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@748258 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 18:19:58 +00:00