Commit Graph

287 Commits

Author SHA1 Message Date
Timothy Bish b313209aa2 https://issues.apache.org/jira/browse/AMQ-5711
Reject sender / receiver creation when the address is a temp destination
prefixed value but the destination doesn't map down to a temp
destination created using a dynamic link which means the orignal
connection ID where the destination was created cannot be determined.
2015-04-21 17:45:45 -04:00
Timothy Bish ff1a1c4985 https://issues.apache.org/jira/browse/AMQ-5737
lookup transformer using case insensitive compare.
2015-04-21 15:58:06 -04:00
Timothy Bish 2013c6a54f Update some logging for better coverage 2015-04-16 18:46:40 -04:00
Timothy Bish a5c2f3f423 https://issues.apache.org/jira/browse/AMQ-5731
Add some additional checks and handlers for frames with an invalid size
prefix and ensure that the connection state is torn down broker side.
2015-04-16 14:53:22 -04:00
Timothy Bish 31834ed1fb https://issues.apache.org/jira/browse/AMQ-5731
Ensure that a ShutdownInfo is propagated to the Broker when the AMQP
transport encounters an unrecoverable error.
2015-04-15 18:30:13 -04:00
Timothy Bish a5a52b6517 add a test that sends multiple messages at a Queue. 2015-04-14 17:22:14 -04:00
Timothy Bish cb370d06e9 Add a test for the unsettled sate as well, and some logs. 2015-04-14 12:33:05 -04:00
Timothy Bish b3bf8e74f2 https://issues.apache.org/jira/browse/AMQ-5723
Ensure that we settle the delivery state of incoming deliveries that are
already remotely settled so that the resources associated are freed.
2015-04-14 11:18:32 -04:00
Timothy Bish 47f5c08573 turn on informational messages from qpid-jms 2015-04-14 09:29:12 -04:00
Timothy Bish f0ebda7ef9 Add a bit of logging for link and session level events. 2015-04-13 09:39:05 -04:00
Timothy Bish 25c99a6c36 https://issues.apache.org/jira/browse/AMQ-5707
Add support for aborting a slow AMQP consumer and some testing.
2015-04-07 10:32:49 -04:00
Timothy Bish 3d6bb7c392 https://issues.apache.org/jira/browse/AMQ-5704
send correct order of preferred SASL mechanisms.
2015-04-01 10:18:01 -04:00
Timothy Bish b9ed01fa56 https://issues.apache.org/jira/browse/AMQ-5698
Ensure that wireFormat transport options get applied
2015-03-31 12:36:00 -04:00
Timothy Bish 351d4b9dea https://issues.apache.org/jira/browse/AMQ-5666
Add some additional tests to validate AMQP behavior
2015-03-30 17:20:52 -04:00
Timothy Bish e333fd957b https://issues.apache.org/jira/browse/AMQ-5591
Clean up SASL authentication code to make it easier to add new
mechanisms.
2015-03-30 16:41:34 -04:00
Timothy Bish af13292916 https://issues.apache.org/jira/browse/AMQ-5684
Whem possible restore the orignal MessageId value from the incoming
message.
2015-03-27 18:59:34 -04:00
Timothy Bish f56ea45e58 https://issues.apache.org/jira/browse/AMQ-5684
Adds a new test case to use when investigating AmqpNetLite test failures
with the 'JMS' transformer used on the AMQP TransportConnector.
2015-03-27 17:31:46 -04:00
Timothy Bish 05ff52dc15 https://issues.apache.org/jira/browse/AMQ-5413
https://issues.apache.org/jira/browse/AMQ-5433
https://issues.apache.org/jira/browse/AMQ-5647
https://issues.apache.org/jira/browse/AMQ-5684

Adds support for AMQP drain and fixes some issues around incorrect
dispatching and credit handling.  Should resolve several issues that
have been seen using test suites from AmqpNetLite and other AMQP
clients.
2015-03-27 15:11:38 -04:00
Timothy Bish 3306467a64 https://issues.apache.org/jira/browse/AMQ-5591
Refactoring of the AMQP protocol stack to allow for more flexibility in
adding support for some additional AMQP semantics and group together
common functionality handling to avoid having to fix simillar issues in
multiple places.
2015-03-24 18:09:28 -04:00
Timothy Bish cdb60d74b8 https://issues.apache.org/jira/browse/AMQ-5606
Clean up Joram test classes and enable all tests now using new client.
2015-03-24 13:29:24 -04:00
Timothy Bish 197dcb162e https://issues.apache.org/jira/browse/AMQ-5606
Enable test for temporary topic creation now as the new client supports
these using JMS mapping defined creation methods.
2015-03-24 13:17:55 -04:00
Timothy Bish 3051882f92 https://issues.apache.org/jira/browse/AMQ-5606
Switch to the new QPid JMS client v0.1.0
2015-03-23 12:15:49 -04:00
Timothy Bish 85d9d4e941 https://issues.apache.org/jira/browse/AMQ-5666
Test that a receiver can also create temporary destinations when it has
a Source configured as dynamic, also test that link close destroys the
temporary destinations.
2015-03-19 10:40:46 -04:00
Timothy Bish 8e6a404d5e https://issues.apache.org/jira/browse/AMQ-5666
Create some tests that exercise creating temp destinations using sender
links with dynamic targets
2015-03-18 18:12:02 -04:00
Timothy Bish 4228e3d3e8 https://issues.apache.org/jira/browse/AMQ-5666
Tests around durable subscription lookup and reattach.
2015-03-18 15:00:11 -04:00
Timothy Bish ca456c4601 https://issues.apache.org/jira/browse/AMQ-5559
Fix and tests for filter handling on attach.  We only support JMS
selector and NoLocal type filters for receivers so only report those
back, all others are dropped to indicate we will not honor them.
2015-03-17 18:44:24 -04:00
Timothy Bish 1a0f73ed19 https://issues.apache.org/jira/browse/AMQ-5666
Add some tests and cleanup of the testing client
2015-03-17 15:28:48 -04:00
Timothy Bish 934ad44add https://issues.apache.org/jira/browse/AMQ-5666
Add some initial tests for durable subscription handling.
2015-03-16 17:51:45 -04:00
Timothy Bish 6a6ef45ee0 https://issues.apache.org/jira/browse/AMQ-5661
Always honor the link credit as true prefetch value for the
subscription.  Enables previously failing test to verify.
2015-03-13 18:20:26 -04:00
Timothy Bish 72839b78a7 https://issues.apache.org/jira/browse/AMQ-5602
Functional client with added tests to start to cover various
expectations of an AMQP broker and some tests for expectations of a JMS
mapping compliant broker.
2015-03-13 15:47:30 -04:00
Timothy Bish 185213b44a https://issues.apache.org/jira/browse/AMQ-5655
Provide the open failed property when the broker sends an error
response, otherwise send the normal connection properties on the open.
2015-03-10 14:55:11 -04:00
Timothy Bish 528c25c6d8 https://issues.apache.org/jira/browse/AMQ-5648
Add new destiantion type annotation on outbound messages through the JMS
transformer.
2015-03-06 11:49:55 -05:00
Robert Gemmell 84c7c3cdf8 AMQ-5560: fixes typo in exception and drop extra cast
https://issues.apache.org/jira/browse/AMQ-5560
2015-03-06 10:26:30 +00:00
Timothy Bish aea771faf6 https://issues.apache.org/jira/browse/AMQ-5560
Check both the symbolic and numeric id values when searching filters.
2015-03-05 14:01:06 -05:00
Timothy Bish ace101a03a https://issues.apache.org/jira/browse/AMQ-5560
Use the type descriptor and not the key, also check object type since
Map from Proton is not enforcing.  Remove some dead code and uneeded
mutex locks for id generation.
2015-03-05 12:40:47 -05:00
Timothy Bish fe9e38622d Merge branch 'master' into amqp-sasl-auth 2015-03-04 14:10:50 -05:00
Timothy Bish 67ccfcad88 https://issues.apache.org/jira/browse/AMQ-5470
Allow for early SASL authentication and failure if credentials not
valid.
2015-03-04 14:06:04 -05:00
Robert Gemmell 6b18857b53 AMQ-5637: support mapping between the AMQP Subject field and JMSType header
https://issues.apache.org/jira/browse/AMQ-5637
2015-03-04 18:44:23 +00:00
Timothy Bish ad57cc6fcb https://issues.apache.org/jira/browse/AMQ-5631
Support for temporary topic delete
2015-03-03 15:55:28 -05:00
Timothy Bish 2ec586f267 https://issues.apache.org/jira/browse/AMQ-5593
Add support for JMS mapping compliant temp topic and temp queue creation
as well as responding correctly to authorization errors if the
connection has no rights to create them.  Also cleans up code to use a
consistent createDestination implementation that uses the names only and
not attempt to interpret the client only destination annotations.
2015-03-03 13:02:36 -05:00
Timothy Bish bb83bf5746 https://issues.apache.org/jira/browse/AMQ-5606
if the client throws the correct exception type, don't fail the test.
2015-03-02 11:19:57 -05:00
Timothy Bish adef03e5a4 https://issues.apache.org/jira/browse/AMQ-5617
Fix tests to always set an client ID for the durable subscription cases,
the legacy client doesn't seem to care but the new one will throw an
exception if not set.
2015-02-27 19:11:01 -05:00
Timothy Bish 7af7c0143f https://issues.apache.org/jira/browse/AMQ-5597
Clean up the durable subscription unsubscribe handling to be in line
with the AMQP JMS mapping spec and switch to the QPid 0.32-SNAPSHOT
build for now to allow us to track and other changes we might want to
feed back there before release.
2015-02-27 12:18:49 -05:00
Timothy Bish b5ef92814e https://issues.apache.org/jira/browse/AMQ-5617
Direct all the JMSClient tests to use the indirect calls to create their
connection, the Joram tests are a bit harder to make generic and can
wait for now.
2015-02-26 17:35:04 -05:00
Timothy Bish eaf773da57 https://issues.apache.org/jira/browse/AMQ-5617
Fix test failure and give it a more meaningful name.
2015-02-26 16:06:33 -05:00
Timothy Bish 276ef15024 remove a warning. 2015-02-26 15:23:26 -05:00
Timothy Bish 240278dbef https://issues.apache.org/jira/browse/AMQ-5617
Consolidate remaining dirct JMS client type usages to the context.
Rename some tests so be consistent.
2015-02-26 15:22:45 -05:00
Timothy Bish 8f0bf6060a https://issues.apache.org/jira/browse/AMQ-5617
Refactor as a general test case that covers the scenario accross all the
transport types.
2015-02-26 15:06:16 -05:00
Timothy Bish 4fa420bbd1 https://issues.apache.org/jira/browse/AMQ-5617
Absorbe these into the general JMSClientTest that covers all four
transport types.
2015-02-26 14:48:57 -05:00
Timothy Bish 12202c9702 https://issues.apache.org/jira/browse/AMQ-5617
Rename these and move to the general tests folder as they cover specific
use cases that are applicable beyond the issue the were created for.
2015-02-26 14:47:12 -05:00