Commit Graph

319 Commits

Author SHA1 Message Date
Robert Gemmell 0cfd225912 AMQ-5890: prevent NPE if Modified disposition is applied without the delivery-failed flag set, add some general tests of Modified handling
https://issues.apache.org/jira/browse/AMQ-5890
2015-07-16 12:46:24 +01:00
gtully a05a9a2129 https://issues.apache.org/jira/browse/AMQ-5552 - added profile for activemq.tests=smoke to run a fast subset of tests that gives a fast verification of a full build 2015-07-09 14:10:38 +01:00
Timothy Bish 13044decce https://issues.apache.org/jira/browse/AMQ-5848
Use the latest openwire version marshallers in the KahaDB store when
starting from a clean install, drop back to the version used in the
existing store if one is found.
2015-07-08 17:29:32 -04:00
Timothy Bish cd32c60f39 https://issues.apache.org/jira/browse/AMQ-5850
Use JMS Transformer by default for inter-protocol interoperability.
2015-06-18 15:00:12 -04:00
Timothy Bish 833d30837b https://issues.apache.org/jira/browse/AMQ-5848
Introduce OpenWire v11 which adds noLocal to the SubscriptionInfo, if
configured KahaDB can store that version and the noLocal value is
recovered from the store.
2015-06-18 14:25:07 -04:00
Timothy Bish ed266835b5 https://issues.apache.org/jira/browse/AMQ-5847
Add workarounds to allow for TX work to take place in multiple sessions
on the same connection.  Future work needed to properly support TXN
Capabilities defined in the spec and support checking of violations of
expected behavior.
2015-06-16 16:41:18 -04:00
Timothy Bish c2310391b9 https://issues.apache.org/jira/browse/AMQ-5845
provide server information in connection properties.
2015-06-15 18:38:12 -04:00
Timothy Bish 732fd56840 https://issues.apache.org/jira/browse/AMQ-5839
Disable failing test, broker doesn't currently recover the noLocal state
for a durable subscription.
2015-06-12 16:43:34 -04:00
Timothy Bish 4945c83d70 https://issues.apache.org/jira/browse/AMQ-5839
Use correct name for the no-local filter
2015-06-12 16:11:55 -04:00
Timothy Bish d74c087134 Add a negative validation test. 2015-06-12 15:39:17 -04:00
Timothy Bish d723d14acb Add some additional control over what is configured on the running
broker.
2015-06-12 14:26:55 -04:00
Timothy Bish 11da37b991 https://issues.apache.org/jira/browse/AMQ-5828
Fixed bad default for message persistence that breaks AMQP specification
defined behavior when the durable value is not present in the Header.
2015-06-05 11:21:27 -04:00
Timothy Bish f37b005acf https://issues.apache.org/jira/browse/AMQ-5776
Add better support for maxFrameSize configuration that fits with the
defaults configuration for the broker by allowing the maxFrameSize to be
configured via ?wireFormat.maxFrameSize on STOMP, AMQP, and MQTT.
Previously we only supported transport.wireFormat.maxFrameSize.
2015-06-02 15:25:11 -04:00
Robert Gemmell 138e52b08c AMQ-5801: add error condition hint via the info map to signal the container-id was the invalid field 2015-05-27 18:09:45 +01:00
Timothy Bish 5e7b70f11f https://issues.apache.org/jira/browse/AMQ-5413
ensure drain completion clear currently tracked credit value, next flow
should update to the correct value.
2015-05-27 11:30:29 -04:00
Timothy Bish 17bcf43048 https://issues.apache.org/jira/browse/AMQ-5799
Resolve a compilation error.
2015-05-27 06:10:08 -04:00
Timothy Bish ffcd99ac85 https://issues.apache.org/jira/browse/AMQ-5799
Add unit test for case of JMS AMQP client changing properties on a
durable sub when resubscribing, not working with current version. 

fix: Use existing filters map to avoind creating a new instance.
2015-05-26 18:28:28 -04:00
Timothy Bish b5c6264789 https://issues.apache.org/jira/browse/AMQ-5799
Return the noLocal filter and set selector if one exists for the
existing durable subscription when a lookup is requested.
2015-05-26 17:30:54 -04:00
Timothy Bish 3125caee5b https://issues.apache.org/jira/browse/AMQ-5794
implement transport.connectAttemptTimeout option across the transports
fro OpenWire, STOMP, AMQP and MQTT and add tests to cover.
2015-05-26 12:29:23 -04:00
Timothy Bish 13b915ad19 https://issues.apache.org/jira/browse/AMQ-5795
Allow fallback of message transformers when configured one can't handle
the incoming message.
2015-05-22 18:57:42 -04:00
Timothy Bish f05ff94e5c https://issues.apache.org/jira/browse/AMQ-4900
Strip delivery annotations from the incoming messages when using JMS
transformer, the other transformers don't currently have a way to do
this.
2015-05-20 14:54:13 -04:00
Timothy Bish 7c41ebc912 https://issues.apache.org/jira/browse/AMQ-5778
Fixes and some testing around maxFrameSize handling on the AMQP
Transport.
2015-05-18 14:51:56 -04:00
Timothy Bish 3e599a595f Allow a test to turn of JMX if desired. 2015-05-15 11:03:35 -04:00
Timothy Bish 29fb4a4b3f Add some additional tests for durable subscription recovery and lookup. 2015-05-14 18:56:34 -04:00
Timothy Bish a812131db7 Add some tests around honoring the transportConnector maximumConnections
option
2015-05-08 13:37:53 -04:00
Timothy Bish 6a2ffca57e https://issues.apache.org/jira/browse/AMQ-5699
Use constant symbols that are now available in v0.9+ of proton-j
2015-05-05 19:04:44 -04:00
Timothy Bish 4b4cf7c09e https://issues.apache.org/jira/browse/AMQ-5757
Add inactivity monitoring and heartbeats to the AMQP transport.
2015-05-05 18:36:15 -04:00
Robert Gemmell fa81c1ff73 AMQ-5763: ensure we replenish the credit for the transaction coordinator link
https://issues.apache.org/jira/browse/AMQ-5763
2015-05-05 19:35:20 +01:00
Timothy Bish 32f21ff1a9 https://issues.apache.org/jira/browse/AMQ-5763
Capture the reported issue in a test case to track the fix.
2015-05-05 11:18:17 -04:00
Robert Gemmell b77eba471d AMQ-5699: upgrade to Proton 0.9.1 release
https://issues.apache.org/jira/browse/AMQ-5699
2015-05-03 15:12:44 +01:00
Timothy Bish b444b6c463 Fix a couple log messages. 2015-04-28 14:24:45 -04:00
Robert Gemmell 3a5f127d52 AMQ-5738: Ensure the sender links for non-durable consumers also get unregistered, remove duplicate closed field, fix method names. 2015-04-22 10:17:38 +01:00
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