Commit Graph

280 Commits

Author SHA1 Message Date
Timothy Bish adafdfe97d Make BrokerService visible to the protocol converter so that in the
future we can use it to better manage durable subscriptions and link
reattach behavior.
2014-10-28 14:58:17 -04:00
Timothy Bish e3377edb06 https://issues.apache.org/jira/browse/AMQ-5401
Free the broker side sender right away so that client's that don't close
their end properly after error don't prevent future remove attempts.
2014-10-22 10:48:11 -04:00
Dejan Bosanac ab3de0c4c2 https://issues.apache.org/jira/browse/AMQ-5379 - amqp prefetch; split producer and consumer prefetch settings; allow consumer prefetch to be adjusted using link credit 2014-10-21 14:52:39 +02:00
Timothy Bish 4881a848dc https://issues.apache.org/jira/browse/AMQ-5402
Add support for encoding the destination type in transformed messages as
a byte value to supoort future JMS->AMQP spec mappings.
2014-10-20 09:49:36 -04:00
Timothy Bish 5a6129b512 https://issues.apache.org/jira/browse/AMQ-5403
Remove now unnecessary workaround for older proton-j TTL issue.
2014-10-20 09:42:56 -04:00
Timothy Bish 004568234b https://issues.apache.org/jira/browse/AMQ-5401
Ensure that the sender is closed on error and add some tests for
unsubscribe failures.
2014-10-17 14:58:56 -04:00
Timothy Bish 226e012d88 Restore test case removed last commit. 2014-10-17 12:22:27 -04:00
Kevin Earls 76e29bdf9c Changed or added timeouts to try to prevent CI hangs 2014-10-17 12:03:04 +02:00
Timothy Bish 41ca0d9464 Add a test case for durable topic unsubscribe. 2014-10-16 16:11:26 -04:00
Timothy Bish e90f1decb2 https://issues.apache.org/jira/browse/AMQ-5391
Fix temp queue creation.
2014-10-15 10:35:36 -04:00
Timothy Bish 78cb1120b7 https://issues.apache.org/jira/browse/AMQ-5391
Allow for an anonymous relay using a configurable node name when
creating the new link, default is $relay.  Message's that arrive without
a to field set are rejected as this is required for a relay.
2014-10-14 17:32:23 -04:00
Timothy Bish 27833d025e Remove unused imports 2014-10-14 11:47:48 -04:00
Timothy Bish 78446ad175 https://issues.apache.org/jira/browse/AMQ-5395
Check for the presence of a prefix before asking for a substring
2014-10-14 11:46:49 -04:00
Dejan Bosanac 838bbebeeb https://issues.apache.org/jira/browse/AMQ-5379 - amqp prefetch size 2014-10-02 11:32:31 +02:00
Timothy Bish 2d9475c4f0 https://issues.apache.org/jira/browse/AMQ-5346
Apply patch for link detach event from @gemmellr
2014-09-30 12:18:00 -04:00
Timothy Bish 80322ce00d https://issues.apache.org/jira/browse/AMQ-5373
Use dynamic ports for the test to avoid clashing with other brokers.
2014-09-30 09:56:24 -04:00
Kevin Earls 025c2316d9 Added timeouts to prevent hangs during CI builds 2014-09-29 14:47:54 +02:00
Timothy Bish c70d75213e https://issues.apache.org/jira/browse/AMQ-5352
Applied and tested, all tests still passing after this change.
2014-09-09 14:19:39 -04:00
Timothy Bish b2e6a41661 https://issues.apache.org/jira/browse/AMQ-5350
Don't link the AMQP max frame size to the TransportConnector
maxFrameSize value.
2014-09-09 10:59:11 -04:00
Timothy Bish 3afde7bac7 https://issues.apache.org/jira/browse/AMQ-5346
need to call free on the amqp resources now to ensure their state data
is all cleaned up.
2014-09-08 17:48:22 -04:00
Timothy Bish 644b96a68a https://issues.apache.org/jira/browse/AMQ-5346
Prepare for the move to Proton 0.8.  Use the 1.0-SNAPSHOT builds to
start testing against the changes coming in Proton 0.8
2014-09-08 13:29:10 -04:00
Daniel Kulp 7fe23bce62 Change some of the amqp tests to be more event driven reducing the time by several minutes 2014-07-21 15:56:05 -04:00
gtully 5aef16ad06 https://issues.apache.org/jira/browse/AMQ-5256 - fix spurious amqp ioexception on concurrent connection protocol discrimination, client would see a hang on open. additional test 2014-07-01 22:34:44 +01:00
Dejan Bosanac 1591960887 fixing licenses 2014-06-03 14:03:28 +02:00
Dejan Bosanac 7bfbce9a54 minor cleanup 2014-05-29 16:41:07 +02:00
Dejan Bosanac e9126f3513 ignore JmsClientRequestResponseTest until we have qpid/proton libs with appropriate fixes 2014-05-29 16:41:06 +02:00
Timothy Bish f2653e6936 Clean up a bit, remove commented out code from other transports. 2014-05-28 15:27:34 -04:00
Timothy Bish ba519d8bd3 https://issues.apache.org/jira/browse/AMQ-5195
Use largest incoming capaity value, broker will do flow control based on
destination policies.
2014-05-23 11:26:55 -04:00
Timothy Bish 9b6f419d44 https://issues.apache.org/jira/browse/AMQ-5195
Set session incoming credit value and improves the flow handling to
reduce chatter on each message send, improves overall producer
performance significantly.
2014-05-20 18:26:17 -04:00
Timothy Bish b9d51bf1d4 Use a fixed buffer to handle incoming deliveries from proton via the
receiver.recv method instead of allocating a new byte array each time as
the contents are copied out to create the complete frane
2014-05-15 15:28:02 -04:00
Timothy Bish b83a3d4388 Add option to turn on an OpenWire TCP endpoint. 2014-05-15 11:58:49 -04:00
Dejan Bosanac ff64b14bc7 https://issues.apache.org/jira/browse/AMQ-5186 - remove amqp producers 2014-05-15 15:13:01 +02:00
Timothy Bish 8f3e08c7b6 Add an option to allow test cases to easily change the transformer
instance used by the AmqpProtocolConverter.
2014-05-14 13:02:28 -04:00
Timothy Bish 38a86b470f https://issues.apache.org/jira/browse/AMQ-5183
Swithc to using Proton's Evet collector for processing engine state
changes.  All tests passing locally with this change.
2014-05-12 15:23:42 -04:00
Timothy Bish 1dd34a13b2 Pull out JMS client common test bits into a test support class. 2014-05-12 15:16:03 -04:00
Timothy Bish 683fcda55d Turn down default logging to DEBUG for tests. 2014-05-12 11:20:11 -04:00
Timothy Bish 8498136f5e fix for: https://issues.apache.org/jira/browse/AMQ-5004 2014-04-30 10:08:28 -04:00
Hadrian Zbarcea ed11b067c5 Add missing license headers in preparation of releases 2014-03-31 18:43:54 -04:00
Timothy Bish da07a11760 https://issues.apache.org/jira/browse/AMQ-4563
Fix for client's that use a message Id similar to ActiveMQ's version
which can throw off the ack later on when a stored message is
dispatched.
2014-03-27 11:33:50 -04:00
Timothy Bish 6d8449f053 Speed up these tests by only creating the connector needed for the test
so we spend less time starting and stopping the broker for each test
run.
2014-03-27 11:33:50 -04:00
Timothy Bish 359ec25e21 Reduce the use of QPid JMS specific types in this test. 2014-03-27 11:33:50 -04:00
Timothy Bish 13b33da37b Remove use of deprecated use MessageImpl and load the Proton
MessageFactory instead.
2014-03-20 13:05:19 -04:00
Timothy Bish 6972d37e63 Add in transacted producer rollback test. 2014-03-19 14:15:59 -04:00
Timothy Bish e06e23b9f3 https://issues.apache.org/jira/browse/AMQ-5110
Set accepted outcome for successful commit and rollback.
2014-03-19 12:55:43 -04:00
Kevin Earls 4e79e43905 Added @Ignore for AMQ-5102 until proton 0.7 is released 2014-03-14 16:23:45 +01:00
Timothy Bish 1671523076 https://issues.apache.org/jira/browse/AMQ-5096
Return proper error code for unathorized access.
2014-03-12 16:13:04 -04:00
Kevin Earls c8a5fb769e Fix for https://issues.apache.org/jira/browse/AMQ-5073 2014-03-11 14:58:13 +01:00
Kevin Earls 87420cc455 Fix for AMQ-5093. amqp+nio and amqp+nio+ssl were failing on large messages 2014-03-11 12:00:16 +01:00
Timothy Bish da5d0d819e Clean up some imports and get rid of some warnings throught the code. 2014-03-07 18:12:04 -05:00
Timothy Bish ddf0b2a309 Adds a basic request / response test using temp topic and temp queue for
reply to destination.
2014-03-07 18:07:58 -05:00
Timothy Bish f555d90e92 Adds a test for anonymous Producers 2014-03-06 12:39:30 -05:00
Kevin Earls 2360fb8596 Fix for AMQ-5073, updated AmqpNioSslTransport.java to propery handle frames. Also fixed bugs in amqp test, as seen in AMQ-5062 2014-02-28 10:58:15 +01:00
Timothy Bish da72aa6570 https://issues.apache.org/jira/browse/AMQ-5075 2014-02-24 16:09:46 -05:00
Kevin Earls 28c565c266 See https://issues.apache.org/jira/browse/AMQ-5062. Added @Ignore while I work on these tests so they stop causing CI builds to hang 2014-02-19 10:30:58 +01:00
Kevin Earls dc0996d1e5 Restored most of the tests, see AMQ-4978 2014-02-18 14:44:53 +01:00
Kevin Earls 2ba6689ee5 Removed AutoFailTestSupport and changed surefire fork behavior to help with some runtime issues with AMQP tests, including AMQ-5062 2014-02-18 14:43:58 +01:00
Kevin Earls 3a48b654c6 Uncommented UnifiedSessionTest, it's now working 2014-02-18 11:30:25 +01:00
Kevin Earls 7453b77cd7 Added UnifiedSessionTest, fixed by AMQ-5042 2014-02-18 11:09:32 +01:00
Kevin Earls da63f3f20a Fix for https://issues.apache.org/jira/browse/AMQ-5042. Handles receiving multiple frames at once from an nio channel 2014-02-18 10:52:37 +01:00
Timothy Bish 99d533c060 Add timouts to tests that currently lack them. 2014-02-11 13:53:17 -05:00
Timothy Bish d8c2eda6e8 Add a NIO variant of the JMS clent tests for working through NIO
transport issues.
2014-02-11 12:05:46 -05:00
Timothy Bish be6b4830ec AMQ-5041 fix mistaken change of test to the nio port and revert ignored
tests.
2014-02-11 10:17:49 -05:00
Kevin Earls a165054df9 Added multiple @Ignores to keep this test from hanging and blocking CI builds. AMQ-5041 2014-02-11 14:39:40 +01:00
Timothy Bish 42d006f2b6 Enable some of the NIO joram tests so we can get an idea of what the
state of things is now that Proton and QPid client's are updated.
2014-02-10 17:03:49 -05:00
Timothy Bish 301866d151 enable frame tracing in few more test cases 2014-02-10 15:27:35 -05:00
Timothy Bish cdfb562455 Add a timeout in case of hang. 2014-02-10 13:25:47 -05:00
Timothy Bish 1e7dc12c30 Add test case for session with local transactions. 2014-02-10 13:25:47 -05:00
Kevin Earls e80cb78616 Increased timeout on testSendHugeMessage, fix for AMQ-5036 2014-02-10 14:03:45 +01:00
Timothy Bish e102e64e9d Use non-deprecated output methods for proton to allow for faster bulk
sends of outbound amqp frames.
2014-02-04 12:47:42 -05:00
Timothy Bish 69e6ad8cf3 Add additional tests for connection loss exception handling. 2014-01-30 15:24:19 -05:00
Hiram Chirino 875822de51 Fixes AMQ-5002: Support receiving AMQP messages which do not have the timestamp set but the expiration is set. 2014-01-30 09:51:53 -05:00
Timothy Bish f5e54cf75c fix typo in enum where tests were commented out. 2014-01-29 17:20:59 -05:00
Timothy Bish 2f9c43f11f don't trace frames 2014-01-29 14:39:10 -05:00
Timothy Bish 19344991af Add some additional logs 2014-01-29 12:41:43 -05:00
Timothy Bish 8b993b4dc6 Couple of changes to allow for some performance analysis. 2014-01-29 12:28:55 -05:00
Kevin Earls 82cd256683 Commented out most test cases because of CI hangs. See AMQ-4978 2014-01-20 11:41:13 +01:00
Timothy Bish 3d63ca75fb Use the AMQP JMS client's setTopicPrefix and setQueuePrefix on the
ConnectionFactory to make the JMS client usage simpler.
2014-01-15 09:46:43 -05:00
gtully efb988655c https://issues.apache.org/jira/browse/AMQ-4741 - move to .26-SNAPSHOT for qpid jms and reinstate factory.setSyncPublish - amqp tests all pass with that which is smashing 2014-01-09 14:46:48 +00:00
gtully a33a4e7693 https://issues.apache.org/jira/browse/AMQ-4741 - revert factory.setSyncPublish which seems to need .026 of qpid jms client 2014-01-09 14:09:51 +00:00
Timothy Bish efc51fa448 https://issues.apache.org/jira/browse/AMQ-4741
Set state to accepted if message received is properly handled.
2014-01-08 17:28:39 -05:00
Timothy Bish 283cdd0502 https://issues.apache.org/jira/browse/AMQ-4914
Up the max frame size to a value of 1mb so that we are restricted by the
default in the QPid client which is 32k.
2014-01-08 11:27:39 -05:00
Timothy Bish 3af70ba285 https://issues.apache.org/jira/browse/AMQ-4962
ensure immediate removal of connection MBean
2014-01-06 17:38:41 -05:00
Timothy Bish cf2083f06b https://issues.apache.org/jira/browse/AMQ-4962
Test that demonstrates the issue.
2014-01-06 16:40:56 -05:00
Timothy Bish c387e842ee https://issues.apache.org/jira/browse/AMQ-4920
And code to prevent concurrent writes to a message when dispatched to
multiple Topic consumers.
2013-12-17 15:22:08 -05:00
Timothy Bish 7c01c9b581 Ignore the TTL test for now, needs fixes in both AMQP JMS and in Proton 2013-12-17 15:21:02 -05:00
Timothy Bish a6d05daba6 Make sure there are Topic consumers online before starting to send
otherwise they can miss a message and the test fails when it shouldn't
2013-12-16 14:37:06 -05:00
Timothy Bish e1e8c5b083 Some additional JMS Tests focused on Topics. Useful when updating the
AMQP JMS Client version as it shows some new problem in the latest
SNAPSHOT builds.
2013-12-11 16:58:08 -05:00
Timothy Bish 78c4e43372 Allow the createBroker method to be overriden in other tests. 2013-12-11 15:30:13 -05:00
Kevin Earls 7cf5c240a2 Test to reproduce AMQ4920 2013-12-05 12:50:55 +01:00
Timothy Bish f0334862a2 Adds several test cases which show some JMS client issues, most are
resolved by moving on to v 0.26-SNAPSHOT
2013-12-02 15:14:11 -05:00
Kevin Earls cfeea7797d Test to reproduce AMQ-4914 with the failing part @Ignored for now 2013-12-02 17:52:30 +01:00
Timothy Bish e3fed4b57a Add some methods for stoppng and restarting broker during tests. 2013-11-27 14:02:05 -05:00
Kevin Earls 0d38840051 Commented out UnifiedSessionTest because of CI hangs, see AMQ-4375 2013-11-07 14:53:27 +01:00
Timothy Bish 7319697da5 https://issues.apache.org/jira/browse/AMQ-4753
Adds more NIO+SSL test via Joram test runs.
2013-10-09 11:21:28 -04:00
Timothy Bish 0f9a347996 https://issues.apache.org/jira/browse/AMQ-4753
Quick fix for getting past protocol discrimination and passing on proper
Buffers of data to the protocol converter.
2013-10-08 17:53:51 -04:00
Timothy Bish 6b9662440e https://issues.apache.org/jira/browse/AMQ-4375
Remove hanging test from build for now.
2013-09-30 14:33:39 -04:00
Timothy Bish fba8e25563 apply patch for: https://issues.apache.org/jira/browse/AMQ-4713 2013-09-19 07:00:26 -04:00
Hiram Chirino 8d5b9a5587 Adding hooks so that in the future we can more easily support handling older versions of the AMQP protocol. 2013-09-18 15:26:07 -04:00
Timothy Bish e1bbde7302 https://issues.apache.org/jira/browse/AMQ-4721
Upgrade to latest slf4j library and update many LOG statements to use
proper calls (no string concats).  Removes many uneeded isXXXEnabled
checks to clean up the code.
2013-09-13 14:53:41 -04:00
Timothy Bish edc1599018 fixes for: https://issues.apache.org/jira/browse/AMQ-4641 2013-09-05 12:06:30 -04:00
Timothy Bish ebe54c46b3 Fix and tests for: https://issues.apache.org/jira/browse/AMQ-4596
Updates to proton 0.5
2013-09-04 10:26:44 -04:00
Timothy Bish d2f4d76f83 apply patch for: https://issues.apache.org/jira/browse/AMQ-4696 2013-09-03 16:13:53 -04: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
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
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
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
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
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
Hiram R. Chirino 7938cc6943 Fixes AMQ-4376 - JoramJmsTest QueueBrowserTest.testSenderBrowser fails intermittently.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1495058 13f79535-47bb-0310-9956-ffa450edef68
2013-06-20 15:43:54 +00:00
Hiram R. Chirino e8eb58ada3 Improve how trace logging is handled in the AMQP transport.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1495057 13f79535-47bb-0310-9956-ffa450edef68
2013-06-20 15:43:44 +00:00
Hiram R. Chirino fec73ddbc1 Better debug settings for when working /w amqp.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1494217 13f79535-47bb-0310-9956-ffa450edef68
2013-06-18 17:25:03 +00:00
Timothy A. Bish bbab23ee7b Improve logging.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1493136 13f79535-47bb-0310-9956-ffa450edef68
2013-06-14 16:06:55 +00:00
Timothy A. Bish 205c6bec88 Fix for potential NPE
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1493110 13f79535-47bb-0310-9956-ffa450edef68
2013-06-14 15:18:51 +00:00
Timothy A. Bish 44e3c22652 fix for failing test case.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1492373 13f79535-47bb-0310-9956-ffa450edef68
2013-06-12 19:05:53 +00:00
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
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 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
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 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