Commit Graph

170 Commits

Author SHA1 Message Date
Timothy A. Bish 6cd3bd06a7 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@1492251 13f79535-47bb-0310-9956-ffa450edef68
2013-06-12 15:42:09 +00:00
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 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
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
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 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 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
Hiram R. Chirino 943011e92e Remove commented out tests.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1478549 13f79535-47bb-0310-9956-ffa450edef68
2013-05-02 21:07:41 +00:00
Timothy A. Bish 39c27f9ebb apply patch for: https://issues.apache.org/jira/browse/AMQ-4379
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1457073 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 19:15:51 +00:00
Christian Posta 0e148fb4ba Added tests for AMQP to JMS transformations
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1449562 13f79535-47bb-0310-9956-ffa450edef68
2013-02-24 22:42:09 +00:00
Gary Tully 56174e770d [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1443026 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 15:45:26 +00:00
Gary Tully 5e257808f3 [maven-release-plugin] prepare release activemq-5.8.0
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1443024 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 15:43:41 +00:00
Gary Tully fc519e186a fix up missing license files - our rat check friend
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1442984 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 14:27:03 +00:00
Timothy A. Bish a55aae00e7 Scrub the pom files and remove old cruft and leftovers from the recent refactoring
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1439680 13f79535-47bb-0310-9956-ffa450edef68
2013-01-28 22:44:25 +00:00
Hiram R. Chirino c441e3a66c Almost all the amqp joram tests are passing with the QPID 0.20 client.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1438797 13f79535-47bb-0310-9956-ffa450edef68
2013-01-26 00:41:48 +00:00
Hiram R. Chirino 15298cb1b4 Switch to proton snapshot to pick up fix /w link closing. Also make a link fail if the address is an empty string.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1438570 13f79535-47bb-0310-9956-ffa450edef68
2013-01-25 16:07:12 +00:00
Hiram R. Chirino 37423d661c When the AMQP source or target address is not set, close the sender/receiver and report the error.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1438540 13f79535-47bb-0310-9956-ffa450edef68
2013-01-25 14:35:18 +00:00
Hiram R. Chirino 0dfa5f483c Avoid logging error messages when an AMQP client gracefully disconnects.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1437550 13f79535-47bb-0310-9956-ffa450edef68
2013-01-23 16:36:37 +00:00
Hiram R. Chirino 77312e5a64 Fixes AMQ-4258: Endless loop when received incorrect AMQP message
Applied patch sumbitted by Robert Balent.  Many thanks!



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1437427 13f79535-47bb-0310-9956-ffa450edef68
2013-01-23 14:54:15 +00:00
Hiram R. Chirino ebaacfd4f6 Convert to new proton APIs.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1421487 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 20:20:53 +00:00
Hiram R. Chirino 8c5c33bfc2 AMQP: Clean up old commented code, pick up the trace setting from the transport filter.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1418089 13f79535-47bb-0310-9956-ffa450edef68
2012-12-06 21:22:21 +00:00
Hiram R. Chirino cbf2adb343 When we transform JMS to AMQP messages preserve destination type info.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1416516 13f79535-47bb-0310-9956-ffa450edef68
2012-12-03 13:43:22 +00:00
Hiram R. Chirino 537e598a84 reclassify the amqp joram tests which are passing/will pass and are still broken and why.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1415182 13f79535-47bb-0310-9956-ffa450edef68
2012-11-29 14:33:01 +00:00
Hiram R. Chirino 3016b39249 Moved the JMS mapping logic into a proton module.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1414990 13f79535-47bb-0310-9956-ffa450edef68
2012-11-28 23:16:42 +00:00
Hiram R. Chirino 17b2b6c458 Switch to new proton artifact id.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1414010 13f79535-47bb-0310-9956-ffa450edef68
2012-11-27 08:20:00 +00:00
Hiram R. Chirino 2727496c00 Support the no-local option over AMQP.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1412127 13f79535-47bb-0310-9956-ffa450edef68
2012-11-21 14:33:58 +00:00
Gary Tully badc1868bb fix compilation error in amqp module
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1411695 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 15:18:13 +00:00
Hiram R. Chirino cf70ce97ee make the protocol tracing configurable.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1409417 13f79535-47bb-0310-9956-ffa450edef68
2012-11-14 21:27:27 +00:00
Hiram R. Chirino 7a0c1f85ab Improve format of the amqp trace messages, implement better producer flow control.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1408953 13f79535-47bb-0310-9956-ffa450edef68
2012-11-13 20:52:18 +00:00
Hiram R. Chirino 914e177239 Use more sensible prefetch settings.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1408919 13f79535-47bb-0310-9956-ffa450edef68
2012-11-13 19:49:48 +00:00
Hiram R. Chirino 8387295ade Take the activemq-amqp module out of the ustable profile, include it in the default assembly.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1408918 13f79535-47bb-0310-9956-ffa450edef68
2012-11-13 19:49:39 +00:00
Hiram R. Chirino 11e0df8e04 Fixing up activemq-amqp build a bit.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1408917 13f79535-47bb-0310-9956-ffa450edef68
2012-11-13 19:49:23 +00:00
Hiram R. Chirino 9a8f6e415d Refactored the classes needed to run an ActiveMQ JMS client out from the activemq-core module to the activemq-client module.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1406466 13f79535-47bb-0310-9956-ffa450edef68
2012-11-07 05:00:17 +00:00
Hiram R. Chirino ba0101882a Update Joram test suite so that it's easier to enable the tests that are working against QPID 0.19-SNAPSHOT.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1405137 13f79535-47bb-0310-9956-ffa450edef68
2012-11-02 20:13:08 +00:00
Hiram R. Chirino ae24f5ff25 Fix bug where we were not properly draining all the links.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1404994 13f79535-47bb-0310-9956-ffa450edef68
2012-11-02 15:08:15 +00:00
Bosanac Dejan 6a253ebd3f amqp - JMSClientTest with browser
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1404980 13f79535-47bb-0310-9956-ffa450edef68
2012-11-02 14:42:30 +00:00
Bosanac Dejan 67744f7398 amqp - UnifiedSessionTest test analyzed
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1404979 13f79535-47bb-0310-9956-ffa450edef68
2012-11-02 14:42:07 +00:00
Bosanac Dejan c944f80b86 reverting qpid jms client version
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1404576 13f79535-47bb-0310-9956-ffa450edef68
2012-11-01 13:15:30 +00:00
Bosanac Dejan 3656a3f378 amqp - TemporaryTopicTest analyzed
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1404575 13f79535-47bb-0310-9956-ffa450edef68
2012-11-01 13:15:21 +00:00
Bosanac Dejan aeffe6eecc amqp - TopicConnectionTest.class test analyzed
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1404567 13f79535-47bb-0310-9956-ffa450edef68
2012-11-01 12:43:51 +00:00
Hiram R. Chirino 9a6a83fe0d Improved AMQP protocol support. All JORAM Selector tests are now working.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1404158 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 14:17:32 +00:00
Hiram R. Chirino 822c4f37cb Protect against a possible NPE in the selector handling logic.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1403753 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 15:56:20 +00:00
Hiram R. Chirino 3c9c147e76 Use the transformer default values for delivery mode, priority and ttl if not set on the amqp header.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1403752 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 15:56:13 +00:00
Hiram R. Chirino 8835535a94 Adding browser support.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1403690 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 13:31:15 +00:00
Hiram R. Chirino 3b0b1fa7da Temp queues verified to work now.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1403689 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 13:31:04 +00:00
Hiram R. Chirino 7806807db1 Fixes problem /w amqp impl of message acks.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1403459 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 18:41:44 +00:00
Hiram R. Chirino dc4ceb47e8 PLAIN Sasl is now working.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1402532 13f79535-47bb-0310-9956-ffa450edef68
2012-10-26 14:39:46 +00:00
Bosanac Dejan b8a6e5a6ca amqp - support configurable transformers and populate message properties for the default native one
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1402148 13f79535-47bb-0310-9956-ffa450edef68
2012-10-25 13:36:09 +00:00
Bosanac Dejan 2a0a0b66f6 initial amqp selector support
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1401674 13f79535-47bb-0310-9956-ffa450edef68
2012-10-24 13:32:32 +00:00
Timothy A. Bish 78265ea211 fix and test for: https://issues.apache.org/jira/browse/AMQ-4106
NIO based transports weren't updating the receive counter in the TcpTransport which can lead to the inactivity monitor mistakenly shutting down the connection.  

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1401394 13f79535-47bb-0310-9956-ffa450edef68
2012-10-23 19:13:19 +00:00
Timothy A. Bish 0fffe21720 fix for: https://issues.apache.org/jira/browse/AMQ-3996
Updates TransportServer API so that JaasDualAuthenticationBroker can tell when its dealing with a TransportServer that will provide SSL connections and it can validate client certificate chains from ConnectionInfo.  Also updated the properties files to reflect the newly generated certificates. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1400155 13f79535-47bb-0310-9956-ffa450edef68
2012-10-19 16:21:53 +00:00
Hiram R. Chirino 2db73e2b7e More AMQP impl changes. More tests pass, initial cut of transaction support is in.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1400116 13f79535-47bb-0310-9956-ffa450edef68
2012-10-19 14:28:02 +00:00
Hiram R. Chirino 536e78208e Only test using the SwitfMQ client libs if they are available in the users env.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1394682 13f79535-47bb-0310-9956-ffa450edef68
2012-10-05 17:40:15 +00:00
Hiram R. Chirino 6baed7a15a Fixin deadlock in amqp impl. Improved message mapping support and commented out the failing Joram test cases.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1394677 13f79535-47bb-0310-9956-ffa450edef68
2012-10-05 17:35:07 +00:00
Hiram R. Chirino f355b16d38 Lets validate the Qpid JMS client <- AMQP 1.0 -> ActiveMQ impl using the Joram compliance suite. (Still not working).
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1394300 13f79535-47bb-0310-9956-ffa450edef68
2012-10-04 22:25:15 +00:00
Hiram R. Chirino 88dfe0020b Test against the qpid JMS client.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1394280 13f79535-47bb-0310-9956-ffa450edef68
2012-10-04 21:39:37 +00:00
Hiram R. Chirino 72d72ab79e AMQP: Sending and receiving large number of messages was broken.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1394266 13f79535-47bb-0310-9956-ffa450edef68
2012-10-04 21:00:36 +00:00
Hiram R. Chirino cac8c9c385 Improving the AQMP<-->JMS message mapping impl.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1394264 13f79535-47bb-0310-9956-ffa450edef68
2012-10-04 21:00:25 +00:00
Hiram R. Chirino e7137b7eae AMQP impl: A simple send and receive is now working
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1393790 13f79535-47bb-0310-9956-ffa450edef68
2012-10-03 22:01:08 +00:00
Hiram R. Chirino 7fe30bc0cc Making more progress on the AMQP implementation.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1393782 13f79535-47bb-0310-9956-ffa450edef68
2012-10-03 21:46:46 +00:00
Hiram R. Chirino cdd5150340 Initial rough cut of AMQP protocol support using the QPID proton project.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1393500 13f79535-47bb-0310-9956-ffa450edef68
2012-10-03 14:15:01 +00:00