Commit Graph

7305 Commits

Author SHA1 Message Date
Timothy A. Bish 3513728f0f Add some more asserts to the test and clean up logging in the protocol converter, replace all the System.out.println calls
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1492250 13f79535-47bb-0310-9956-ffa450edef68
2013-06-12 15:41:56 +00:00
Timothy A. Bish 0168a826f7 fix and test for: https://issues.apache.org/jira/browse/AMQ-4581
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1492214 13f79535-47bb-0310-9956-ffa450edef68
2013-06-12 14:18:51 +00:00
Hiram R. Chirino 7db8987ca6 Fixup the assembly packaging so that the replicated leveldb store can be used.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1491287 13f79535-47bb-0310-9956-ffa450edef68
2013-06-09 20:41:24 +00:00
Hiram R. Chirino c5344c9179 Help xbean generate the proper xsd for the leveldb store.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1491281 13f79535-47bb-0310-9956-ffa450edef68
2013-06-09 20:22:09 +00:00
Hiram R. Chirino 5f301c40fa Help the xbean generate the proper xsd for the leveldb store.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1491278 13f79535-47bb-0310-9956-ffa450edef68
2013-06-09 20:16:22 +00:00
Hiram R. Chirino 6e7365640d Repackage the hawtio webconsole in the standalone distro.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1491272 13f79535-47bb-0310-9956-ffa450edef68
2013-06-09 19:39:59 +00:00
Timothy A. Bish 0b8b230983 fix for: https://issues.apache.org/jira/browse/AMQ-4577
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1490745 13f79535-47bb-0310-9956-ffa450edef68
2013-06-07 17:34:03 +00:00
Timothy A. Bish b8518e0b91 fix test to account for changes in how we carry along the textview of JMSMessageID
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1490466 13f79535-47bb-0310-9956-ffa450edef68
2013-06-06 22:41:28 +00:00
Timothy A. Bish 7a11f59505 fix for: https://issues.apache.org/jira/browse/AMQ-4337
Adds basic TX support for Messages that are to be scheduled. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1490454 13f79535-47bb-0310-9956-ffa450edef68
2013-06-06 21:47:24 +00:00
Timothy A. Bish ddbe83ac19 remove override so it builds on 1.6 as well as 1.7 java
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1490395 13f79535-47bb-0310-9956-ffa450edef68
2013-06-06 19:00:41 +00:00
Timothy A. Bish 539a5f162e fix and test for: https://issues.apache.org/jira/browse/AMQ-4575
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1490343 13f79535-47bb-0310-9956-ffa450edef68
2013-06-06 16:32:15 +00:00
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