Commit Graph

5989 Commits

Author SHA1 Message Date
Gary Tully db1f6fe2b4 https://issues.apache.org/jira/browse/AMQ-3903 - Failed to fire fast producer advisory, reason: java.lang.NullPointerException. A generic producer does not contain a destination, so it must be obtained from the exchange. Modified the boker interface to reflect that. fixed up typo in the policy entry, advisoryForFastProducers now correctly spelled in favour of advisdoryForFastProducers
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1360642 13f79535-47bb-0310-9956-ffa450edef68
2012-07-12 11:58:05 +00:00
Bosanac Dejan d4742f597b https://issues.apache.org/jira/browse/AMQ-3924 - connect REST API to secure broker
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1360626 13f79535-47bb-0310-9956-ffa450edef68
2012-07-12 11:05:03 +00:00
Gary Tully f180b1d7db add test to validate jdbc xml config with explicit adapter
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1360614 13f79535-47bb-0310-9956-ffa450edef68
2012-07-12 10:17:41 +00:00
Gary Tully 75bd4f243a https://issues.apache.org/jira/browse/AMQ-2656 - add wellknown xa factory name, XAConnectionFactory so that context.lookup("XAConnectionFactory") will work as expected out of the box
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1360125 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 11:36:20 +00:00
Gary Tully 97ac8e22df https://issues.apache.org/jira/browse/AMQ-1191 - apply patch from Mikhail Melamud with thanks. fix up lock statement when isUseLockCreateWhereClause is set
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1360095 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 10:12:31 +00:00
Bosanac Dejan ac64a722c1 https://issues.apache.org/jira/browse/AMQ-2665 - refactoring the test a bit
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1360088 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 09:45:32 +00:00
Bosanac Dejan e66967bff1 https://issues.apache.org/jira/browse/AMQ-2665 - regression, keepDurableSubsActive is not properly propagated to the durable subscription leading to increasing consumer list
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1360085 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 09:28:19 +00:00
Timothy A. Bish 425fa47360 additional fix for fo:r https://issues.apache.org/jira/browse/AMQ-3921 make sure on selector change that we remove the subscription from the list so that the updated one gets put back in.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1359952 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 23:15:05 +00:00
Timothy A. Bish 4ae6807cc2 fix and test fo:r https://issues.apache.org/jira/browse/AMQ-3921
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1359949 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 23:11:36 +00:00
Timothy A. Bish d162fa07b7 fix for: https://issues.apache.org/jira/browse/AMQ-3534
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1359883 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 20:11:20 +00:00
Timothy A. Bish 7308396581 fix for: https://issues.apache.org/jira/browse/AMQ-3920
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1359880 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 20:07:27 +00:00
Timothy A. Bish fd24ab8036 Update to Apache v10 parent and bump to some later patch releases
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1359735 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 15:49:00 +00:00
Timothy A. Bish 7b231fe8d9 Add mew method from Java 1.7 to prevent compiler errors when only 1.7 is installed.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1359658 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 13:28:36 +00:00
Bosanac Dejan cb895f01b7 https://issues.apache.org/jira/browse/AMQ-3918 - transport connector urls exposed using JMX
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1359194 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 14:43:30 +00:00
Timothy A. Bish b7dc057abd Adds a test case showing a particular use case of camel in/out routes and failover that can go bad with the wrong config.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1358398 13f79535-47bb-0310-9956-ffa450edef68
2012-07-06 20:12:45 +00:00
Bosanac Dejan d1a0419a02 https://issues.apache.org/jira/browse/AMQ-3915 - jmx connectorHost to bind to the specified address
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1358147 13f79535-47bb-0310-9956-ffa450edef68
2012-07-06 11:50:16 +00:00
Timothy A. Bish 9601f6742e fix for: https://issues.apache.org/jira/browse/AMQ-3913
Stop trimming STOMP header keys to align with the spc. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1357919 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 21:07:06 +00:00
Timothy A. Bish b4f21b64d4 Clean up the tests so that they send better formated stomp send frames without spaces in the message headers
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1357886 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 20:32:21 +00:00
Timothy A. Bish 5d0182266f Fix the test as the recent fixes ensure that for a non-persistent broker config, there is not a persistent DB store.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1357686 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 15:33:27 +00:00
Timothy A. Bish 801e26ac38 Fix the test as the recent fixes ensure that for a non-persistent broker config, there is not a persistent DB store.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1357677 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 15:24:08 +00:00
Timothy A. Bish 654320a359 Fix the test as the recent fixes ensure that for a non-persistent broker config, there is not a persistent DB store.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1357675 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 15:22:17 +00:00
Timothy A. Bish 9e03278e69 allow a bit more time for the message to propagate.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1357666 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 15:09:03 +00:00
Timothy A. Bish a2f59ec0ad fix failing test that sometimes get an extra newline in the frame frame the inactivity monitor.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1357630 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 14:34:18 +00:00
Bosanac Dejan 12585eb5be https://issues.apache.org/jira/browse/AMQ-2535 - jetty ssl connector configuration
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1357529 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 09:44:39 +00:00
Bosanac Dejan da138e3fad https://issues.apache.org/jira/browse/AMQ-3880 - wss transport implementation
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1357293 13f79535-47bb-0310-9956-ffa450edef68
2012-07-04 15:05:44 +00:00
Bosanac Dejan 39da37d853 https://issues.apache.org/jira/browse/AMQ-3880 - wss transport - first some refactoring for https transport so we can reuse stuff
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1357201 13f79535-47bb-0310-9956-ffa450edef68
2012-07-04 09:56:41 +00:00
Timothy A. Bish a3836b562d fix for: https://issues.apache.org/jira/browse/AMQ-3224
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1356927 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 20:45:12 +00:00
Timothy A. Bish bb1e246c1b The start time needs to be set before stopping broker1 in order to account for context switching that can cause the failover process to start before the current call to track the failover start time.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1356868 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 19:04:49 +00:00
Hiram R. Chirino 902c6e98aa Open up the visibility of the JmDNS.addListener method. It's handy for listening for record updates as they occur
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1356830 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 16:55:17 +00:00
Gary Tully ae816dcb3f https://issues.apache.org/jira/browse/AMQ-3912 - Durable subs store messages in error with broker attribute persistent="false" - fix with test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1356724 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 13:31:32 +00:00
Timothy A. Bish ae5bd2ec3c fix and tests for: https://issues.apache.org/jira/browse/AMQ-3909
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1356431 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 19:36:24 +00:00
Timothy A. Bish e0d264181f fix fore: https://issues.apache.org/jira/browse/AMQ-3908
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1356238 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 14:12:01 +00:00
Timothy A. Bish 1e18cf2d71 Adds a method to allow for sending a receipt on disconnect send.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1355553 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 20:26:32 +00:00
Timothy A. Bish b7a1883b4b fix and tests for: https://issues.apache.org/jira/browse/AMQ-3897
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1355183 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 22:20:09 +00:00
Gary Tully 87b2920927 https://issues.apache.org/jira/browse/AMQ-3881 - handy diag script to gather info about the host machine and broker java process and combine into a compressed log, some users have found it valuable in production
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1355055 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 15:51:52 +00:00
Gary Tully e900fb41db AMQ-3872 AMQ-3305 - deal with redelivery of acked messages pending transaction completion, getting dropped by subscriptions, invisible till broker restart
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1354449 13f79535-47bb-0310-9956-ffa450edef68
2012-06-27 11:53:58 +00:00
Gary Tully 551efc90ec speed up and ensure test works on virtualised/slow hw - ie: ci
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1354448 13f79535-47bb-0310-9956-ffa450edef68
2012-06-27 11:53:22 +00:00
Timothy A. Bish f90e6b9b6d apply patch for: https://issues.apache.org/jira/browse/AMQ-3900
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1354291 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 23:40:59 +00:00
Timothy A. Bish 3813947879 fix and test for: https://issues.apache.org/jira/browse/AMQ-3846
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1354270 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 22:20:51 +00:00
Timothy A. Bish 41c93667dc fix for: https://issues.apache.org/jira/browse/AMQ-3787
Adds support for setting useCompression on NetworkConnectors to enforce that all messages forwarded across the network are compressed.  

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1353042 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 21:53:01 +00:00
Gary Tully 60624c4e38 fix up destination statistics for recovered transactions, pending adds are not visible, but pending acks are still accounted for in the messages count, commit/rollback updates enqueues/dequeues/messages as expected - https://issues.apache.org/jira/browse/AMQ-3872, https://issues.apache.org/jira/browse/AMQ-3305 - both kahadb and jdbc suffered
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1353024 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 20:43:24 +00:00
Timothy A. Bish 11497e9e98 apply patch for: https://issues.apache.org/jira/browse/AMQ-3896
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1352984 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 18:03:33 +00:00
Timothy A. Bish bd31548920 fix for: https://issues.apache.org/jira/browse/AMQ-3895
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1352933 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 15:40:03 +00:00
Gary Tully ac8c8d1bc9 implement https://issues.apache.org/jira/browse/AMQ-3894 - broker based redelivery via schedular resend and a per destination redelivery policy, plugin and tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1352902 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 14:31:40 +00:00
Bosanac Dejan dc35766d0e https://issues.apache.org/jira/browse/AMQ-3893 - adjust topic policy in default config
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1352900 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 14:17:20 +00:00
Gary Tully 044b11918a AMQ-3014 remove hardcoded port 50000
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1352487 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 10:11:22 +00:00
Timothy A. Bish 7fbbcf3565 fix for: https://issues.apache.org/jira/browse/AMQ-3887
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1352137 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 14:56:38 +00:00
Gary Tully 32d3fd51b4 https://issues.apache.org/jira/browse/AMQ-1885 - make tests more deterministic, ensure ioexception handler is used with lease locker to avoid contending masters, the resumption after an error is dependent on a keepAlive win, so the lease expiry tests w/o the io handler is invalid
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1352120 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 14:14:33 +00:00
Timothy A. Bish f3d84aeb1a Don't use fixed ports for broker instances, let the connector find an open port.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1352103 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 13:56:31 +00:00
Timothy A. Bish e2e71eb3ca Don't use fixed ports for broker instances, let the connector find an open port.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1352081 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 13:08:10 +00:00