Commit Graph

7221 Commits

Author SHA1 Message Date
Christian Posta 4dc1ddcd21 added quick test for cleanSession=false and wildcard sub for MQTT from IRC chat
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1513655 13f79535-47bb-0310-9956-ffa450edef68
2013-08-13 21:09:40 +00:00
Timothy A. Bish 7e28d2a948 https://issues.apache.org/jira/browse/AMQ-4678
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1513609 13f79535-47bb-0310-9956-ffa450edef68
2013-08-13 18:31:42 +00:00
Gary Tully 7c50c1c736 fix up failure - still leveldb variant problem that needs work - testQueueTransactionalOrderWithRestart - org.apache.activemq.bugs.AMQ2149LevelDBTest
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1512332 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 15:11:11 +00:00
Timothy A. Bish 1773e2c11c fix for: https://issues.apache.org/jira/browse/AMQ-4582
treat bad enabledCipherSuites option as non-recoverable.  

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1512017 13f79535-47bb-0310-9956-ffa450edef68
2013-08-08 20:26:23 +00:00
Timothy A. Bish 42b4e0c810 fix for: https://issues.apache.org/jira/browse/AMQ-4675
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1511967 13f79535-47bb-0310-9956-ffa450edef68
2013-08-08 19:21:22 +00:00
Gary Tully c7aad77a16 extend the lease period in the test to make more deterministic wrt timing
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1511842 13f79535-47bb-0310-9956-ffa450edef68
2013-08-08 15:54:59 +00:00
Gary Tully 0ba311f14b fix typo in logged message
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1511839 13f79535-47bb-0310-9956-ffa450edef68
2013-08-08 15:38:34 +00:00
Timothy A. Bish 798eb1fc13 fix up test case for https://issues.apache.org/jira/browse/AMQ-4268
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1511788 13f79535-47bb-0310-9956-ffa450edef68
2013-08-08 14:02:50 +00:00
Timothy A. Bish ddd4d9fff2 fix add missing file from https://issues.apache.org/jira/browse/AMQ-4655
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1511780 13f79535-47bb-0310-9956-ffa450edef68
2013-08-08 13:45:18 +00:00
Gary Tully 90d6c2042d https://issues.apache.org/jira/browse/AMQ-4212 - fix auto upgrade from ver 1 and 2 to 5 - regression in KahaDBVersionTest
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1511711 13f79535-47bb-0310-9956-ffa450edef68
2013-08-08 11:51:29 +00:00
Gary Tully ae84399b97 fix intermittent test failure - memorylimittest on jdbc
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1511491 13f79535-47bb-0310-9956-ffa450edef68
2013-08-07 21:08:14 +00:00
Gary Tully aed6b0054a fix up test failure - XBeanXmlTest
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1511356 13f79535-47bb-0310-9956-ffa450edef68
2013-08-07 15:17:05 +00:00
Timothy A. Bish c45523fa4d apply patch for: https://issues.apache.org/jira/browse/AMQ-4670
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1511340 13f79535-47bb-0310-9956-ffa450edef68
2013-08-07 14:51:38 +00:00
Hiram R. Chirino dd286e2381 Fixes AMQ-4672 - [JMS Client] Set the SNI field on SSL connections
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1511335 13f79535-47bb-0310-9956-ffa450edef68
2013-08-07 14:42:31 +00:00
Bosanac Dejan ccde93a238 https://issues.apache.org/jira/browse/AMQ-4656 - adding a test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1511334 13f79535-47bb-0310-9956-ffa450edef68
2013-08-07 14:40:45 +00:00
Bosanac Dejan a7533ba922 https://issues.apache.org/jira/browse/AMQ-4656 - first stab at improving keepDurableSubsActive feature, by not stoping/starting cursor on subscription (de)activating
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1511333 13f79535-47bb-0310-9956-ffa450edef68
2013-08-07 14:36:40 +00:00
Timothy A. Bish 45c399d810 fix for: https://issues.apache.org/jira/browse/AMQ-4671
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1511321 13f79535-47bb-0310-9956-ffa450edef68
2013-08-07 14:05:42 +00:00
Gary Tully 82c4ab83ed https://issues.apache.org/jira/browse/AMQ-4665 - fix auto ack on duplicate, now use poison ack. For client ack allow replay after failover. Additional tests to validate new behaviour
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1511307 13f79535-47bb-0310-9956-ffa450edef68
2013-08-07 13:39:24 +00:00
Gary Tully 0061f6f755 https://issues.apache.org/jira/browse/AMQ-4000 - tracking subscription commands causes a problem with replay outside of activate - can reset a sub ack locations - regression in AMQ2149Test. Fixed by ignoring sub add during recovery replay
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1511306 13f79535-47bb-0310-9956-ffa450edef68
2013-08-07 13:38:53 +00:00
Bosanac Dejan 805d88af24 don't limit the web console on jetty 7; it should be able to run on newer versions as well
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1509629 13f79535-47bb-0310-9956-ffa450edef68
2013-08-02 11:17:38 +00:00
Timothy A. Bish 0f6561bae0 fix and tests for: https://issues.apache.org/jira/browse/AMQ-4651
ensure consumers get removed from the session on close. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1509291 13f79535-47bb-0310-9956-ffa450edef68
2013-08-01 15:25:23 +00:00
Gary Tully 5cadb04ad3 https://issues.apache.org/jira/browse/AMQ-4662 - kahadb default checksumJournalFiles = true - validate no migration impact as we currently store default checksum value of 0
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1509178 13f79535-47bb-0310-9956-ffa450edef68
2013-08-01 11:44:30 +00:00
Timothy A. Bish ed5d841c21 fix and tests for: https://issues.apache.org/jira/browse/AMQ-4651
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1509046 13f79535-47bb-0310-9956-ffa450edef68
2013-07-31 22:05:27 +00:00
Gary Tully 55a8ef54b5 allow xapooledconnectionfactory as an admin object - allows xa enlistment at the session level for jms style use cases with the RAR contents. validation of https://issues.apache.org/jira/browse/AMQ-3560 in eap 6.1
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1508958 13f79535-47bb-0310-9956-ffa450edef68
2013-07-31 16:54:04 +00:00
Gary Tully 708be6d822 intermittent hang of test for https://issues.apache.org/jira/browse/AMQ-2021 showed concurrency flaw in https://issues.apache.org/jira/browse/AMQ-3236 - properties are only applied to the message copy that is deferred till needed
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1508819 13f79535-47bb-0310-9956-ffa450edef68
2013-07-31 11:50:06 +00:00
Gary Tully 13bbe52646 https://issues.apache.org/jira/browse/AMQ-4643 - ensure handled ioexceptions are not propagated back to client when broker or transports are shutdown. additional tests existing tests refactored to reflect new determinism. IOException handler now throws SuppressReplyException which is trapped by the transport connector. If store exception need to be processes by the client, for immediate response rather than failover reconnect, then the ioexception handler should be configured to ignoreAllErrors
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1508602 13f79535-47bb-0310-9956-ffa450edef68
2013-07-30 20:18:07 +00:00
Timothy A. Bish 4a270fe1f0 apply patch for: https://issues.apache.org/jira/browse/AMQ-4655
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1507346 13f79535-47bb-0310-9956-ffa450edef68
2013-07-26 15:08:52 +00:00
Timothy A. Bish c5c4caadcf https://issues.apache.org/jira/browse/AMQ-4651
Some new tests showing existing problems with AMQP transacted consumer handling. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1507146 13f79535-47bb-0310-9956-ffa450edef68
2013-07-25 22:32:56 +00:00
Hiram R. Chirino 563cc1bc6a Warn when there are too many replication nodes attached.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1506965 13f79535-47bb-0310-9956-ffa450edef68
2013-07-25 13:40:59 +00:00
Timothy A. Bish b4f880a75c Add more info to assert messages.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1506591 13f79535-47bb-0310-9956-ffa450edef68
2013-07-24 15:13:53 +00:00
Christian Posta 02185be527 Fix for https://issues.apache.org/jira/browse/AMQ-4648 - fix script created by ./bin/activemq create to be able to pass command line args and run in the background
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1506395 13f79535-47bb-0310-9956-ffa450edef68
2013-07-24 04:09:15 +00:00
Timothy A. Bish a2c297dc19 prevent stack overflow exception so that we can see the real exception that causes the test to fail.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1506214 13f79535-47bb-0310-9956-ffa450edef68
2013-07-23 18:58:31 +00:00
Timothy A. Bish acbe5499b5 convert to JUnit 4 test and add a timeout
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1506149 13f79535-47bb-0310-9956-ffa450edef68
2013-07-23 16:33:13 +00:00
Timothy A. Bish 3940f2dffd https://issues.apache.org/jira/browse/AMQ-4640
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1506079 13f79535-47bb-0310-9956-ffa450edef68
2013-07-23 14:51:00 +00:00
Timothy A. Bish 1e5dac11fa https://issues.apache.org/jira/browse/AMQ-4640
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1506078 13f79535-47bb-0310-9956-ffa450edef68
2013-07-23 14:50:40 +00:00
Timothy A. Bish 194c6535cd [LevelDB]
https://issues.apache.org/jira/browse/AMQ-4296

Fixes remainder of failing unit tests.  The LevelDB wasn't incrementing or decrementing reference counts on messages added to the store which causes the expectations of certain memory limit based tests to fail as the memory usage was being updates after the store add instead of during so a message could get placed into the batch list of a cursor when we did not expect that it would.  This could also cause a browse to return fewer message than we want as the in memory messages would top out the usage limit so we'd never page in one batch of messages. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1505805 13f79535-47bb-0310-9956-ffa450edef68
2013-07-22 20:53:27 +00:00
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