Commit Graph

7285 Commits

Author SHA1 Message Date
Gary Tully 20f384ce59 https://issues.apache.org/jira/browse/AMQ-4637 - track cause and policy
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1505000 13f79535-47bb-0310-9956-ffa450edef68
2013-07-19 20:20:08 +00:00
Gary Tully 17bf5c7d69 https://issues.apache.org/jira/browse/AMQ-4645 - fix and test. adjust lease correctly in both behind and ahead of db case
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1504981 13f79535-47bb-0310-9956-ffa450edef68
2013-07-19 19:49:05 +00:00
Timothy A. Bish 0826fdcf06 AMQ-4637 fix test that fails due to this change, also remove extra call to setPoisonCause
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1504954 13f79535-47bb-0310-9956-ffa450edef68
2013-07-19 18:21:09 +00:00
Timothy A. Bish ac8e38fb69 update some plugin versions and ensure we use the property value in all child poms.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1504919 13f79535-47bb-0310-9956-ffa450edef68
2013-07-19 15:33:33 +00:00
Gary Tully 6a3bbba09b adding activemq-arquillian module with fork of https://github.com/hornetq/hornetq/blob/master/examples/javaee (licensed under apache2) to provide a framework and tests that validate the RAR in a jee container. The eap profile requires a manual download of eap 6.1
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1504871 13f79535-47bb-0310-9956-ffa450edef68
2013-07-19 13:29:30 +00:00
Timothy A. Bish 11ed6b0e18 {LevelDB] fix for StoreQueueCursorLevelDBNoDuplicateTest failure. When the cursor calls setBatch and then recovering the next batch its expecting the batch to start at lastMsgId + 1 so we were seeing a single duplicate message and since audit was disabled it was delivered.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1504668 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 21:21:38 +00:00
Gary Tully dda5c93cd8 was having difficulty setting JMSreplyTo on message from jconsole. the header map operation is greyed out. Seems it needs a special ui to populate. I added a simpler csn=v string where body,username,password are special and where all other names are applied as properties. Jconsole can now set a reply to via sendTextMessageWithProperties("body=hi,JMSReplyTo=Queue2"
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1504660 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 21:09:43 +00:00
Hiram R. Chirino ae5abf143b Adding a container property to the zk node data used by the leveldb replication.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1504626 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 20:04:45 +00:00
Robert Davies cf9cccacf8 Fix for https://issues.apache.org/jira/browse/AMQ-4638
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1504506 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 15:55:37 +00:00
Robert Davies 07369531ea Add support for exposing information about blocked sends through JMX - see https://issues.apache.org/jira/browse/AMQ-4635
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1504452 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 12:53:08 +00:00
Gary Tully 92b6bd23cf https://issues.apache.org/jira/browse/AMQ-4415 - fix test regression, stop the autofail support
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1504436 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 11:38:19 +00:00
Gary Tully a971b648ea https://issues.apache.org/jira/browse/AMQ-4637 - populate DLQ_DELIVERY_FAILURE_CAUSE_PROPERTY for messages that exceed a redelivery policy - makes it easier to identify in the dlq
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1504423 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 10:48:29 +00:00
Gary Tully 141052bcf5 add connection factory admin-object, usefull for remote jms clients to pull from jndi w/o additional module deployments
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1504422 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 10:48:13 +00:00
Gary Tully 1408e7f63b https://issues.apache.org/jira/browse/AMQ-4634 - create ack with known transaction context so that subesquent timeout triggers a rollback and does not leave a null transaction
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1504279 13f79535-47bb-0310-9956-ffa450edef68
2013-07-17 21:11:37 +00:00
Timothy A. Bish 1982d54224 Fix for: https://issues.apache.org/jira/browse/AMQ-4621
Also add a new MBean for the new SlowConsumerStrategy type and fix a compilation error in the tests. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1504249 13f79535-47bb-0310-9956-ffa450edef68
2013-07-17 19:54:01 +00:00
Timothy A. Bish 2b99f39a5b Fix for: https://issues.apache.org/jira/browse/AMQ-4621
New SlowConsumerStrategy implementation for aborting consumers that haven't ack'd in the configured interval.  Can also be used to kick idle consumers if you disable the ignore idle consumers option.  

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1504231 13f79535-47bb-0310-9956-ffa450edef68
2013-07-17 18:44:27 +00:00
Timothy A. Bish de49f2e873 fix for: https://issues.apache.org/jira/browse/AMQ-4629
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1503736 13f79535-47bb-0310-9956-ffa450edef68
2013-07-16 14:41:16 +00:00
Timothy A. Bish f80071f65d Test updates, use a proper MessageId and add some logging so the level DB test errors are more obvious.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1503727 13f79535-47bb-0310-9956-ffa450edef68
2013-07-16 14:15:37 +00:00
Bosanac Dejan 975b7819cf https://issues.apache.org/jira/browse/AMQ-4588 - id generator; some improvements in the socket close routine
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1503627 13f79535-47bb-0310-9956-ffa450edef68
2013-07-16 09:29:16 +00:00
Timothy A. Bish ec11e82664 fix intermittent test failure.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1503426 13f79535-47bb-0310-9956-ffa450edef68
2013-07-15 19:01:16 +00:00
Timothy A. Bish 4b868f4700 fix intermittent test failure.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1503422 13f79535-47bb-0310-9956-ffa450edef68
2013-07-15 18:57:54 +00:00
Timothy A. Bish c50b8e49c4 fix for: https://issues.apache.org/jira/browse/AMQ-4595
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1503263 13f79535-47bb-0310-9956-ffa450edef68
2013-07-15 14:21:23 +00:00
Claus Ibsen 8abbfb2376 Dependency upgrades and better aligned with Camel 2.12.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1502580 13f79535-47bb-0310-9956-ffa450edef68
2013-07-12 14:50:33 +00:00
Claus Ibsen 87b654a533 Fixed build of trashed activemq-optional
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1502509 13f79535-47bb-0310-9956-ffa450edef68
2013-07-12 10:53:28 +00:00
Claus Ibsen bb7c33124b Upgraded to Karaf 2.3.2
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1502430 13f79535-47bb-0310-9956-ffa450edef68
2013-07-12 05:54:00 +00:00
Timothy A. Bish 25028b0bba fix for: https://issues.apache.org/jira/browse/AMQ-4623
Use the configured _REALPATH variable to execute wrapper.exe so that it can be run either in console or from double click in explorer.  Tested on Windows 7 x64

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1502244 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 15:19:45 +00:00
Bosanac Dejan 74ba0529d2 https://issues.apache.org/jira/browse/AMQ-4628 - first attempt at jdbc performance improvement; make xid column string and indexed
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1502206 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 12:33:33 +00:00
Christian Posta 25d774b6dd added a test to AMQP JMSTestClient showing selectors works
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1502092 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 03:09:48 +00:00
Timothy A. Bish 9988a3c94f Adds a unit test that demonstrates how to properly unsubscribe and remove a durable subscription and what happen when there is an active subscriber.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1501878 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 17:49:56 +00:00
Hiram R. Chirino 86e2426d1b Improve the replicated leveldb bits: Avoid dependencies on fabric-group stuff. Makes it easier to embed in different versions of a fabric osgi env.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1501877 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 17:49:03 +00:00
Timothy A. Bish 1a4f47bf74 update svn:ignore
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1501784 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 15:10:00 +00:00
Timothy A. Bish 34ce33613c workaround for issue: https://issues.apache.org/jira/browse/AMQ-4307
attempt to get around the deadlock by detecting and interrupting the locked thread.  

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1501500 13f79535-47bb-0310-9956-ffa450edef68
2013-07-09 19:53:26 +00:00
Timothy A. Bish 840ca30e90 workaround for issue: https://issues.apache.org/jira/browse/AMQ-4307
attempt to get around the deadlock by detecting and interrupting the locked thread.  

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1501488 13f79535-47bb-0310-9956-ffa450edef68
2013-07-09 19:40:08 +00:00
Timothy A. Bish 5f0dd8ab53 Fix for failing LveelDB unit tests where only non-persistent messages are sent in a TX. The preCommit wasn't being run so the Queue's orderIndexUpdates structure wasn't getting updated with the TX to process in the postCommit phase.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1501420 13f79535-47bb-0310-9956-ffa450edef68
2013-07-09 18:15:26 +00:00
Timothy A. Bish cb52dd47f4 fix https://issues.apache.org/jira/browse/AMQ-4625
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1501340 13f79535-47bb-0310-9956-ffa450edef68
2013-07-09 15:41:32 +00:00
Timothy A. Bish b3e58a5b33 Apply patch for: https://issues.apache.org/jira/browse/AMQ-4588
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1500885 13f79535-47bb-0310-9956-ffa450edef68
2013-07-08 19:04:09 +00:00
Timothy A. Bish d57ebf88f0 fix for: https://issues.apache.org/jira/browse/AMQ-4591
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1500753 13f79535-47bb-0310-9956-ffa450edef68
2013-07-08 14:21:43 +00:00
Robert Davies 8335dfcf77 added test for unsubscribe
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1500057 13f79535-47bb-0310-9956-ffa450edef68
2013-07-05 16:21:28 +00:00
Bosanac Dejan 2f8381cbe4 https://issues.apache.org/jira/browse/AMQ-4617 - change desription of the demo
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1499974 13f79535-47bb-0310-9956-ffa450edef68
2013-07-05 11:44:30 +00:00
Robert Davies 72e484c68f fixed some failing tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1499843 13f79535-47bb-0310-9956-ffa450edef68
2013-07-04 18:57:49 +00:00
Bosanac Dejan 33ec1cf99b https://issues.apache.org/jira/browse/AMQ-4617 - mqtt over ws protocol
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1499777 13f79535-47bb-0310-9956-ffa450edef68
2013-07-04 14:54:29 +00:00
Hiram R. Chirino 2019a21d96 Simplify and improve the leveldb replication MBean
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1499754 13f79535-47bb-0310-9956-ffa450edef68
2013-07-04 13:47:27 +00:00
Timothy A. Bish 8302262e2e fix for: https://issues.apache.org/jira/browse/AMQ-4610
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1499143 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 22:56:46 +00:00
Hiram R. Chirino d2836d1362 Applying patch and fix for AMQ-3303: Standalone web console crashes when accessing broker via master-slave failover.
Patch supplied by Arnaud BRAND.  Many thanks!  Fix confirmed by Jamie Goodyear.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1499141 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 22:54:20 +00:00
Hiram R. Chirino 34f3329370 When the leveldb replicated master was shutting down the client would get notified of a failure and it would not be hidden from the client app. We now suppress sending failure messages to clients when a broker is shutting down so that the client failover logic can kick in an reconnect the client to another server gracefully.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1498978 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 15:28:42 +00:00
Bosanac Dejan 6167c49fc1 https://issues.apache.org/jira/browse/AMQ-4567 - readonly web console
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1498875 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 10:42:55 +00:00
Hiram R. Chirino b98067732b Improve the replicated leveldb behavior when the number of nodes in the cluster falls below the required minimum. The master node will switch to electing mode. The master store startup will now also block until it syncs up with slaves so that we don't accept connections the master is fully online.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1498601 13f79535-47bb-0310-9956-ffa450edef68
2013-07-01 17:38:13 +00:00
Timothy A. Bish dd69af43bc fix: https://issues.apache.org/jira/browse/AMQ-4604
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1498515 13f79535-47bb-0310-9956-ffa450edef68
2013-07-01 15:19:59 +00:00
Hiram R. Chirino 16cd8c3954 Expose the replicated store status via JMX.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1497843 13f79535-47bb-0310-9956-ffa450edef68
2013-06-28 16:57:29 +00:00
Gary Tully 4834cf15ec https://issues.apache.org/jira/browse/AMQ-4605 - remove duplicate test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1497752 13f79535-47bb-0310-9956-ffa450edef68
2013-06-28 12:41:35 +00:00