Commit Graph

3786 Commits

Author SHA1 Message Date
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
Gary Tully d98ea376ba resolve mem leak in kahadb - AMQ-2143
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@748218 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 17:32:37 +00:00
Bosanac Dejan 337962273d typo fix for https://issues.apache.org/activemq/browse/AMQ-1859
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@748205 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 16:42:22 +00:00
Bosanac Dejan f54713a7b3 fix for https://issues.apache.org/activemq/browse/AMQ-1859
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@748204 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 16:39:40 +00:00
Gary Tully 8e6446ffcd resolve AMQ-2123, deal with the topic dispatch case where a subscription arrives between store of message and dispatch of message
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@747951 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 23:03:10 +00:00
Bosanac Dejan 3cbe388595 changing a link from incubator to project site
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@747718 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 09:31:12 +00:00
Bosanac Dejan 0a5ae2b68e additional fix for https://issues.apache.org/activemq/browse/AMQ-2074
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@747391 13f79535-47bb-0310-9956-ffa450edef68
2009-02-24 14:18:29 +00:00
Gary Tully 9d9d4cd69d apply patch from AMQ-2109, with thanks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@747384 13f79535-47bb-0310-9956-ffa450edef68
2009-02-24 14:05:28 +00:00
Bosanac Dejan 2de531cb52 fix for https://issues.apache.org/activemq/browse/AMQ-2074
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@747030 13f79535-47bb-0310-9956-ffa450edef68
2009-02-23 14:36:03 +00:00
James Strachan e01a937d29 Made topics also auto-expose themselves in Camel's context
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@747001 13f79535-47bb-0310-9956-ffa450edef68
2009-02-23 12:58:44 +00:00
James Strachan 45c246cd6d Added repository to download jersey et al for camel-web dependency
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@746948 13f79535-47bb-0310-9956-ffa450edef68
2009-02-23 10:18:28 +00:00
James Strachan f4aa952a09 Initial cut of AMQ-2131 for using camel-web to interact with camel endpoints and routes while inside the AMQ broker
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@746279 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 15:30:36 +00:00
James Strachan 5273aab548 First cut of AMQ-2131 adding the /camel web application to the ActiveMQ broker distro
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@746264 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 14:54:54 +00:00
James Strachan e24a791f6e Fix for AMQ-2130 to upgrade to Camel 2.0
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@746263 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 14:52:36 +00:00
Gary Tully ae2a3e2182 a little more time for slow networks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@746191 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 10:09:23 +00:00
Gary Tully 184761a119 tidy up redispatch logic a little more, resolve: AMQ-2128, deliver acks on dispose in auto_ack mode. also get some closure on: MQ-2075
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@745953 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 18:15:59 +00:00
Bosanac Dejan f53e392766 Upgrading Camel https://issues.apache.org/activemq/browse/AMQ-2124
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@745895 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 15:14:51 +00:00
Bosanac Dejan 76d9fccb2d additional fix for https://issues.apache.org/activemq/browse/AMQ-2085
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@745833 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 12:09:21 +00:00
Bosanac Dejan 8b0bb3373a additional fix for https://issues.apache.org/activemq/browse/AMQ-2104 and https://issues.apache.org/activemq/browse/AMQ-1509
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@745558 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 16:24:56 +00:00
Gary Tully 9e3e5ad4cc re AMQ-2076, see if a little more time will help
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@745490 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 12:15:58 +00:00
Gary Tully 7f5e6667f4 partial fix for AMQ-2075
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@745480 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 11:43:29 +00:00
Gary Tully 9216c18c73 little refactor of recovery dispatch as now only used for browser dispatch
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@745456 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 09:44:31 +00:00
Bosanac Dejan 9ad6c089fa fix for https://issues.apache.org/activemq/browse/AMQ-2120
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@745031 13f79535-47bb-0310-9956-ffa450edef68
2009-02-17 12:56:24 +00:00
Gary Tully e48ff70d4b resolve AMQ-2111, only the network subscription that causes the initial subscription needs to be tracked as this is the one that will be propagated via an advisory to the rest of the network. The existing update was making a mod to a possibly inflight advisory message
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@744983 13f79535-47bb-0310-9956-ffa450edef68
2009-02-17 12:04:57 +00:00
Gary Tully 9f8777d3a0 resolve AMQ-2121, shared lock needs to be less contentious
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@744975 13f79535-47bb-0310-9956-ffa450edef68
2009-02-17 11:57:23 +00:00
Gary Tully b4aa979d90 fix intermittent failure when sync close beats async ack
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@744972 13f79535-47bb-0310-9956-ffa450edef68
2009-02-17 11:55:53 +00:00
Bosanac Dejan b0eb9731c0 two consumers test for zero prefetch
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@744947 13f79535-47bb-0310-9956-ffa450edef68
2009-02-16 15:54:04 +00:00
Bosanac Dejan 32d6841a13 A few more failover transport uri test combinations
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@744870 13f79535-47bb-0310-9956-ffa450edef68
2009-02-16 09:50:51 +00:00
Bosanac Dejan 049b43cd17 refactored failover uri test to support testing multiple values
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@744112 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 13:48:51 +00:00
Bosanac Dejan 479acad417 fix for https://issues.apache.org/activemq/browse/AMQ-2096
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@744082 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 11:29:01 +00:00
Bosanac Dejan 34b125e18f changing names of excluded kaha tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@744042 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 09:05:10 +00:00
Hiram R. Chirino e16a63815f The wireFormat option needs to get removed otherwise you'll get an error saying that it's unrecognized
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@743870 13f79535-47bb-0310-9956-ffa450edef68
2009-02-12 20:29:31 +00:00
Bosanac Dejan a18a55f75c excluding kaha tests as they are failing occasionally
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@743743 13f79535-47bb-0310-9956-ffa450edef68
2009-02-12 13:58:32 +00:00
Bosanac Dejan 610d5272ec additional fix for https://issues.apache.org/activemq/browse/AMQ-2103; some tests were failing because of this change
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@743741 13f79535-47bb-0310-9956-ffa450edef68
2009-02-12 13:57:22 +00:00
Bosanac Dejan b2148c5e7a fix for https://issues.apache.org/activemq/browse/AMQ-2104
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@743320 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11 13:07:04 +00:00
Robert Davies 69e5f769b2 Fix for https://issues.apache.org/activemq/browse/AMQ-2103
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@743258 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11 07:34:26 +00:00
Gary Tully 9a60743876 test for AMQ-2100
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@743027 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 17:38:28 +00:00
Gary Tully cfb4234cee fix up org.apache.activemq.network.MulticastNetworkTest
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@742941 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 11:51:43 +00:00
Bosanac Dejan aed1b5c67c fix for https://issues.apache.org/activemq/browse/AMQ-2101
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@742930 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 10:45:44 +00:00
Bosanac Dejan 60d6c36ff2 additional fix for https://issues.apache.org/activemq/browse/AMQ-2088
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@742888 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 08:37:12 +00:00
Robert Davies 586ea12d1e Fix for https://issues.apache.org/activemq/browse/AMQ-2100
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@742876 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 08:07:16 +00:00
Gary Tully 504bcf0596 demote log error or async exception to warn, with sendFailIfNoSpace, logs gets spammed with expected error messages
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@742603 13f79535-47bb-0310-9956-ffa450edef68
2009-02-09 16:33:50 +00:00