Commit Graph

7094 Commits

Author SHA1 Message Date
Timothy A. Bish d338d8a0d6 https://issues.apache.org/jira/browse/AMQ-4568
fix potential NPE

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1490317 13f79535-47bb-0310-9956-ffa450edef68
2013-06-06 15:07:39 +00:00
Timothy A. Bish bfed9df3b7 https://issues.apache.org/jira/browse/AMQ-4568
fix potential NPE

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1490311 13f79535-47bb-0310-9956-ffa450edef68
2013-06-06 14:51:52 +00:00
Hiram R. Chirino c161033abb Make the fabric dependencies of the leveldb store needed for replication as provided.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1490271 13f79535-47bb-0310-9956-ffa450edef68
2013-06-06 13:20:28 +00:00
Hiram R. Chirino 50e8795464 Fixes a ghost messages issue where the queue cursor goes out of sync /w the leveldb store when transactions are being used.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1490065 13f79535-47bb-0310-9956-ffa450edef68
2013-06-05 23:01:13 +00:00
Timothy A. Bish a0cc2af059 Shorten the test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1490034 13f79535-47bb-0310-9956-ffa450edef68
2013-06-05 21:10:50 +00:00
Timothy A. Bish d97f28c490 fix for: https://issues.apache.org/jira/browse/AMQ-4487 and https://issues.apache.org/jira/browse/AMQ-4372
Additional testing and updates. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1490032 13f79535-47bb-0310-9956-ffa450edef68
2013-06-05 21:06:39 +00:00
Timothy A. Bish 05796e7600 Use the right Logger type.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1490015 13f79535-47bb-0310-9956-ffa450edef68
2013-06-05 19:58:40 +00:00
Timothy A. Bish 2d544203f5 fix for: https://issues.apache.org/jira/browse/AMQ-4487 and https://issues.apache.org/jira/browse/AMQ-4372
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1490014 13f79535-47bb-0310-9956-ffa450edef68
2013-06-05 19:57:45 +00:00
Timothy A. Bish 6ea8438071 Test fix, don't produce a StackOverflowException
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1489997 13f79535-47bb-0310-9956-ffa450edef68
2013-06-05 18:41:58 +00:00
Timothy A. Bish 01cda8582a Fix test failure after recent MessageId changes.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1489994 13f79535-47bb-0310-9956-ffa450edef68
2013-06-05 18:29:35 +00:00
Timothy A. Bish 1f5694ed60 fix for: https://issues.apache.org/jira/browse/AMQ-4487 and https://issues.apache.org/jira/browse/AMQ-4372
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1489978 13f79535-47bb-0310-9956-ffa450edef68
2013-06-05 17:34:50 +00:00
Timothy A. Bish 66a99fb580 https://issues.apache.org/jira/browse/AMQ-4571
unroll the loop. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1489888 13f79535-47bb-0310-9956-ffa450edef68
2013-06-05 14:38:04 +00:00
Torsten Mielke 767a59dfc4 AMQ-4571: JUnit test added with broker configuration
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1489880 13f79535-47bb-0310-9956-ffa450edef68
2013-06-05 14:03:40 +00:00
Bosanac Dejan e5676f65d9 https://issues.apache.org/jira/browse/AMQ-4574 - fix osgi range as well
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1489869 13f79535-47bb-0310-9956-ffa450edef68
2013-06-05 13:46:35 +00:00
Hiram R. Chirino fd0cf387d6 Fix up osgi bundle build since we don't build the leveldb uber jar anymore.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1489866 13f79535-47bb-0310-9956-ffa450edef68
2013-06-05 13:36:55 +00:00
Bosanac Dejan b2a91b96c4 https://issues.apache.org/jira/browse/AMQ-4574 - EndpointCompleter functionality for camel component
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1489843 13f79535-47bb-0310-9956-ffa450edef68
2013-06-05 12:56:55 +00:00
Torsten Mielke 6e57f3a346 AMQ-4571: JUnit test added
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1489823 13f79535-47bb-0310-9956-ffa450edef68
2013-06-05 11:51:41 +00:00
Timothy A. Bish 368dc8f26a Fix MessageId copy, wasn't copying the new textView field. Fixes failing test.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1489618 13f79535-47bb-0310-9956-ffa450edef68
2013-06-04 21:24:59 +00:00
Timothy A. Bish 8a524d52ef Fix for: https://issues.apache.org/jira/browse/AMQ-4571
accounts for nested Destination filters.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1489485 13f79535-47bb-0310-9956-ffa450edef68
2013-06-04 15:44:50 +00:00
Timothy A. Bish ba37cbb1de Fix for: https://issues.apache.org/jira/browse/AMQ-4571
test case for AMQ-4356 validates this

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1489471 13f79535-47bb-0310-9956-ffa450edef68
2013-06-04 15:27:18 +00:00
Timothy A. Bish b8a7e9990b some fixes for: https://issues.apache.org/jira/browse/AMQ-4487
Add test case to demonstrate the issue with audit depth and QueueBrowsers.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1489468 13f79535-47bb-0310-9956-ffa450edef68
2013-06-04 15:21:12 +00:00
Timothy A. Bish 8bd40e7665 patch for https://issues.apache.org/jira/browse/AMQ-4568 to add a test timeout
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1489465 13f79535-47bb-0310-9956-ffa450edef68
2013-06-04 15:15:50 +00:00
Christian Posta 0e1431e9ae wrote a test to answer question on mailing list consumer propogation for virtual topics across a network of two brokers
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1489280 13f79535-47bb-0310-9956-ffa450edef68
2013-06-04 03:19:05 +00:00
Christian Posta a7f1180295 wrote a test to answer question on mailing list, shows wildcard subscription with STOMP
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1489275 13f79535-47bb-0310-9956-ffa450edef68
2013-06-04 02:34:00 +00:00
Timothy A. Bish 37ede54486 some fixes for: https://issues.apache.org/jira/browse/AMQ-4487
Allow the maxProducersToAudit value to be set of Queue and QueueBrowser subscriptions which can help to workaround OOM errors on QueueBrowsers when there are more than the max number of producers audited.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1489180 13f79535-47bb-0310-9956-ffa450edef68
2013-06-03 21:12:44 +00:00
Timothy A. Bish bc4392bdde Additional AMQ-4563: Since the version of the OpenWire marshalers is configured, lets persist what it was when the store was created and log a warning should we start a broker with an old store configured to use a higher openwire version than originally set.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1489062 13f79535-47bb-0310-9956-ffa450edef68
2013-06-03 17:00:38 +00:00
Hiram R. Chirino 3bfb4426b0 Fixes compiler error in last leveldb fix.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1489036 13f79535-47bb-0310-9956-ffa450edef68
2013-06-03 15:46:48 +00:00
Timothy A. Bish acc51e693e fix recent commit requires leveldb-store as test dep.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1489029 13f79535-47bb-0310-9956-ffa450edef68
2013-06-03 15:31:42 +00:00
Hiram R. Chirino bb30abf774 Try to avoid the 'short record at position' LevelDB error reported at: http://activemq.2283324.n4.nabble.com/Activemq-5-9-leveldb-replication-issue-tp4667495p4667674.html
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1489019 13f79535-47bb-0310-9956-ffa450edef68
2013-06-03 14:55:57 +00:00
Hiram R. Chirino eec7d7404a Related to AMQ-4563: Added test cases where we select against the JMSMessageID and fixed a bug that was causing it to fail.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1488376 13f79535-47bb-0310-9956-ffa450edef68
2013-05-31 19:56:12 +00:00
Hiram R. Chirino ec9975c36e Additional fixes related to AMQ-4563: You can now configure the storeOpenWireVersion property of a broker to control which version of openwire is used by the persistence stores. This needs to be set to version 10 to preserve the original AMQP message ids.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1488375 13f79535-47bb-0310-9956-ffa450edef68
2013-05-31 19:56:03 +00:00
Hiram R. Chirino 34e8331829 Part of AMQ-4563: Include the textView as part of the persisted fields in OpenWire 10.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1488354 13f79535-47bb-0310-9956-ffa450edef68
2013-05-31 18:53:56 +00:00
Hiram R. Chirino b2b4fc81f7 Fix for AMQ-4563: Changes the KahaDB store to use a more consistent key for message ids. MessageId.toString can change depending on how the message was encoded.
Support storing the externally generated message id of a message in the MessageID class so that Selectors can operate against that external message id.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1488353 13f79535-47bb-0310-9956-ffa450edef68
2013-05-31 18:53:48 +00:00
Timothy A. Bish 478d982440 updates for the log4j config.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1488051 13f79535-47bb-0310-9956-ffa450edef68
2013-05-30 23:35:44 +00:00
Timothy A. Bish 059258b195 Add some more tracing capabilities
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1488048 13f79535-47bb-0310-9956-ffa450edef68
2013-05-30 23:22:16 +00:00
Timothy A. Bish 03a2c5e81e https://issues.apache.org/jira/browse/AMQ-4563
Updated the test case some more, shows that its a problem with the MessageId handling when we receive Messages from the AMQP JMS client, when we use our own JMS client to send the the IDs are correct and we can properly ack them

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1487950 13f79535-47bb-0310-9956-ffa450edef68
2013-05-30 18:07:54 +00:00
Timothy A. Bish 6fa059837f https://issues.apache.org/jira/browse/AMQ-4563
Adding in test case to get this on our radar

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1487905 13f79535-47bb-0310-9956-ffa450edef68
2013-05-30 16:10:47 +00:00
Timothy A. Bish c90322fff0 fix for: https://issues.apache.org/jira/browse/AMQ-4562
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1487874 13f79535-47bb-0310-9956-ffa450edef68
2013-05-30 14:28:29 +00:00
Timothy A. Bish 0c08d62fa3 fix test to reflect recent changes in how Topic statistics are updated.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1487653 13f79535-47bb-0310-9956-ffa450edef68
2013-05-29 22:06:48 +00:00
Timothy A. Bish 646d0234d7 Fix test case, an additional log file is retained now that we are more careful about tracking acks that are needed for recovery from the journal.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1487636 13f79535-47bb-0310-9956-ffa450edef68
2013-05-29 20:43:11 +00:00
Timothy A. Bish 97e1edc20c Fix test failure
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1487607 13f79535-47bb-0310-9956-ffa450edef68
2013-05-29 19:32:51 +00:00
Timothy A. Bish 067660ce88 fix and test for: https://issues.apache.org/jira/browse/AMQ-4542
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1487018 13f79535-47bb-0310-9956-ffa450edef68
2013-05-28 17:43:07 +00:00
Timothy A. Bish d379076196 Test for: https://issues.apache.org/jira/browse/AMQ-4468
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1487008 13f79535-47bb-0310-9956-ffa450edef68
2013-05-28 17:16:36 +00:00
Timothy A. Bish 0766a18953 fix for: https://issues.apache.org/jira/browse/AMQ-4559
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1486959 13f79535-47bb-0310-9956-ffa450edef68
2013-05-28 15:11:38 +00:00
Timothy A. Bish b62648b8d7 fix for: https://issues.apache.org/jira/browse/AMQ-4560
ensure dispatched Messages are set to Read Only mode before passing onto the transformer. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1486951 13f79535-47bb-0310-9956-ffa450edef68
2013-05-28 15:04:25 +00:00
Bosanac Dejan 9490793f2c https://issues.apache.org/jira/browse/AMQ-4461 - priority backup should not be restricted by the pool size
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1486869 13f79535-47bb-0310-9956-ffa450edef68
2013-05-28 11:17:17 +00:00
Hiram R. Chirino c70d7735c0 Add the amqp module to the assembly.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1486248 13f79535-47bb-0310-9956-ffa450edef68
2013-05-24 23:04:26 +00:00
Hiram R. Chirino 300a26d350 No need for the uber jar anymore since we are part of the distro.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1486243 13f79535-47bb-0310-9956-ffa450edef68
2013-05-24 22:33:38 +00:00
Hiram R. Chirino b41121e359 This should fixed the problem with the delayed leveldb index updates.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1486242 13f79535-47bb-0310-9956-ffa450edef68
2013-05-24 22:33:32 +00:00
Timothy A. Bish 3ff2d9294c fix and test for: https://issues.apache.org/jira/browse/AMQ-4554
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1486225 13f79535-47bb-0310-9956-ffa450edef68
2013-05-24 21:38:04 +00:00