Commit Graph

234 Commits

Author SHA1 Message Date
JB Onofré dc4b584c7e
Merge pull request #237 from sigee/cleaning
Remove unnecessary boxing / unboxing
2023-10-19 16:03:52 +02:00
Matt Pavlovich e2121de655 [AMQ-9239] jakarta.jms - activemq-amqp changes 2023-08-24 09:45:31 -05:00
sigee 3ba93ed957 Remove unnecessary boxing / unboxing 2023-07-23 12:08:23 +02:00
Lucas Tétreault e0a37a5c30 Fix serialization of RemoveInfo advisory message for AMQP consumers 2022-10-12 19:06:44 -07:00
Jean-Baptiste Onofré 239ddc05b1 [AMQ-8583] Move AMQP ResponseHandler interface into protocol package 2022-04-19 17:26:48 +02:00
Benjamin Graf a2e718f259 AMQ-8055 - rename posion to correct poison 2020-10-23 09:50:18 +02:00
Pascal Schumacher 67e06c82f7 Fix some javadoc warnings releated to non-existing parameter names. 2020-05-17 11:38:05 +02:00
Pascal Schumacher 6764511fa1 Fix unused format arguments in log messages. 2020-02-12 17:52:28 +01:00
Johannes Bäurle 6f338aa281 [AMQ-7068] Advisory messages are empty when received with a AMQP subscription (#312) 2019-11-17 17:40:15 +01:00
Timothy Bish 122745b5b8 AMQ-7274 Update proton-j and fix footer key type on outbound transform
Footer annotations maps should be using Symbol keys not strings.
2019-08-13 15:05:00 -04:00
Robbie Gemmell aff9413cdb AMQ-7189: ensure messages with defauled durable field are internally classed non-persistent by the 'native' transformer 2019-04-26 12:55:14 +01:00
Timothy Bish ba7934e91a AMQ-7001 Remove now unnecessary check for UTF8Buffer type
Remove the now unneeded checks for UTF8Buffer on the outbound converter
as the Codec now can encode those to the correct string AMQP types
without need for any help.
2018-08-01 18:34:09 -04:00
Timothy Bish 9ec6ee43b1 AMQ-7001 Resolve issues with encode failures on copied messages
Ensure that messages are copied to avoid contention on message content
when concurrent store and dispatch is enabled and better handle the AMQP
message type value.  Adds an AMQP Encoder for UTF8Buffer to encode down
to AMQP String encodings to allow for encoded OpenWire messages such as
MapMessage which can contain UTF8Buffer instances for String keys and
values.
2018-08-01 18:13:37 -04:00
gtully ed8860000f AMQ-7001 - amqp jms transformer - always copy message if properties need to be modified, fix and long running test that is disabled 2018-06-26 15:25:52 +01:00
Timothy Bish b8cfab97db AMQ-6958 Configure the AMQP Max Frame Size by default
Configure a value of 128KB for AMQP max frame size by default to improve
overall performance and provide a limit on delivery size before chunking
begins.
2018-05-10 13:16:13 -04:00
Timothy Bish b29d2ea342 AMQ-6909 Update Qpid JMS, proton-j and Netty to latest.
Use latest releases of AMQP deps
2018-05-08 17:44:55 -04:00
Timothy Bish 36a2871301 AMQ-6872 Use correct type casts on ApplicationProperties Map
Fix missing cast on value out of current proton release.
2017-12-08 11:40:34 -05:00
Timothy Bish e7bce023de AMQ-6872 Use correct type casts on ApplicationProperties Map
Use the spec defined values when casting the Map from the
ApplicationProperties section.
2017-12-07 14:54:42 -05:00
Robbie Gemmell f82eccd2f5 AMQ-6813: update tick deadline handling to account for potential to be negative due to using nanoTime derived values, plus other edge case protections 2017-09-15 17:53:00 +01:00
Timothy Bish ed395d1a85 AMQ-6804 Improve Transfer tag generation and pooling
Reduce GC overhead and improve tag generation for faster tag creation.
2017-09-06 13:28:26 -04:00
Timothy Bish 2e2d5ddd3d https://issues.apache.org/jira/browse/AMQ-6669
Respect the wireFormat.maxFrameSize option on WS and WSS transports
allowing binary content larger than 65535
2017-05-04 16:37:53 -04:00
Timothy Bish 381a1ae206 https://issues.apache.org/jira/browse/AMQ-6659
Honor the sender settle mode from the client and ensure we always set
receiver mode to FIRST to reflect we don't support SECOND.  Adds tests
coverage and needed test client changes for this.
2017-04-21 10:51:35 -04:00
Timothy Bish 1fd2450544 NO-JIRA Make the version string indicate that the value is unknown
The default version string is out of date and doesn't indicate that a
proper value couldn't be found, return something that makes that a bit
more clear.
2017-04-11 13:13:30 -04:00
Timothy Bish 0752d840b9 https://issues.apache.org/jira/browse/AMQ-6638
Adds some additional logging to the connection validation code, adds
some additional tests as well.
2017-04-05 16:20:28 -04:00
Timothy Bish 4a1c05b628 https://issues.apache.org/jira/browse/AMQ-6536
Add support for the receiver side of a sender link which carries a
desired capabilities array which can request to know if we support
delayed delivery, answer with an offered capability in that case.
2016-12-13 12:36:59 -05:00
Timothy Bish 7cf7fba7aa https://issues.apache.org/jira/browse/AMQ-6498
Include the already received backlog when deciding to grant additional
credit to avoid excessive backlogs of messages during producer flow
control.
2016-11-04 11:55:12 -04:00
Timothy Bish a2d92ef786 https://issues.apache.org/jira/browse/AMQ-6486
Ensure that message with no header is marked as non-persistent.
2016-10-26 19:04:35 -04:00
Timothy Bish 10fc397ab7 https://issues.apache.org/jira/browse/AMQ-6467
Fill in the source / target created for the requested dynamic node with
the actual attributes we are going to support.
2016-10-14 15:00:49 -04:00
Timothy Bish a9f9d4a4d2 https://issues.apache.org/jira/browse/AMQ-6464
Correct handling of rejected outcome to archive the message in the DLQ
2016-10-14 09:35:17 -04:00
Timothy Bish baef8f8ec2 https://issues.apache.org/jira/browse/AMQ-6444
Remove some unneeded instance of checks and used cached values where
possible.
2016-10-06 14:20:03 -04:00
Timothy Bish d88c4e46ec https://issues.apache.org/jira/browse/AMQ-6438
Better interop for MapMessage with Binary value in the entries of the
payload, should convert back and forth the byte to allow Message to be
treated as a MapMessage and not fall back to a BytesMessage encoding.
2016-09-29 11:09:34 -04:00
Timothy Bish 0dd806f43f https://issues.apache.org/jira/browse/AMQ-6444
Ensure that unsettled TX messages remain acquired and not redelivered to
the receiver.   Add several tests that demonstrate that a received
message can be released, rejected, accepted or modified after a TX
rollback if it was not settled.
2016-09-28 14:57:04 -04:00
Timothy Bish 45f60e4133 https://issues.apache.org/jira/browse/AMQ-6438
Remove redundant tests and clean up a few small nits.
2016-09-27 17:08:28 -04:00
Timothy Bish b1a9a9382b https://issues.apache.org/jira/browse/AMQ-6438
Add a new test for encode / decode validation.  Fix issue where the
internal scheduled message properties were escaping into the outbound
message.
2016-09-27 15:56:27 -04:00
Timothy Bish 63d62a71f5 https://issues.apache.org/jira/browse/AMQ-6438
JMS Transformer performance improvements and bug fixes

Trim unnecessary code and improve overall performance of the JMS
Transformer codecs.  Remove legacy Qpid JMS client related code from the
transformer as these are no longer supported.  Fix outgoing message that
do not match the structure of the incoming message that created them such
as message with had only a body being sent out with Headers and message
Properties.
2016-09-26 18:43:06 -04:00
gtully 6c01b641b1 https://issues.apache.org/jira/browse/AMQ-6422 - move delivery tracking to pumpoutbound and additional test that shows how the presettle case breaks. Thanks to Robbie Gemmell for the feedback 2016-09-21 13:59:45 +01:00
gtully ffee8b442f https://issues.apache.org/jira/browse/AMQ-6422 - match proton sender view credit to prefetchExtension - tracking credit to dispatch delta to track additional flow requests. Proton sender layer is distinct from the transport layer - they mirror each other 2016-09-21 10:33:20 +01:00
gtully 88daeec28f AMQ-6422 - include the inflight count in the prefetch for positive remote credit flows. Fix and test 2016-09-07 17:28:35 +01:00
Christopher L. Shannon (cshannon) 98c5866c75 https://issues.apache.org/jira/browse/AMQ-6418
Properly setting the transport properties on the
AutoNIOSSLTransportServer and fixing the Stomp protocol to set the peer
certs when using auto+ssl
2016-09-06 10:17:05 -04:00
Christopher L. Shannon (cshannon) ed0e786b60 https://issues.apache.org/jira/browse/AMQ-6414
Changing the nio+ssl transports to trigger a serviceRead after start up
to prevent blocking. The prevents the channels from not reading in
certain cases, most notably with the auto+nio+ssl transport when used
for a network bridge.  Also added a couple tests and changed a network
bridge test to test out auto+nio+ssl.
2016-09-01 11:39:46 -04:00
Timothy Bish 4a1f2f7ca7 https://issues.apache.org/jira/browse/AMQ-6410
Advertise that the connection supported delayed message delivery.
2016-08-30 15:00:23 -04:00
Timothy Bish 1030fb1842 https://issues.apache.org/jira/browse/AMQ-6404
Add check for unmarshalled text body and handle that case.
2016-08-23 09:58:05 -04:00
Timothy Bish d54e21b2ff https://issues.apache.org/jira/browse/AMQ-6374
Refactor transformer to better map AMQP messages to JMS message types
and better preserve the original encoding of stored messages so that
they can be sent back to an AMQP client with expected content types.
Adds additional interoperability tests.
2016-07-25 18:15:53 -04:00
Timothy Bish a35e8dc8a2 https://issues.apache.org/jira/browse/AMQ-6359
Allow a receiver link to enable consumer options on the subscription
such as exclusive and retroactive using options encoded on the address
2016-07-14 16:08:34 -04:00
Timothy Bish 16c487a7b9 https://issues.apache.org/jira/browse/AMQ-6353
Fix and test for encoding the correlation Id value to the ActiveMQ
message object's string value
2016-07-12 14:19:01 -04:00
Timothy Bish 31c55f7510 https://issues.apache.org/jira/browse/AMQ-6339
Add support for AMQP client to connect using WebSockets.
2016-06-30 14:52:40 -04:00
Timothy Bish 83827f2770 https://issues.apache.org/jira/browse/AMQ-6341
Wait on broker response for async broker commands.
2016-06-29 20:13:34 -04:00
Timothy Bish dbed28e625 https://issues.apache.org/jira/browse/AMQ-6320
Turn off support for non SASL connections by default, can be enabled on
the TransportConnector URI if needed.
2016-06-10 17:55:28 -04:00
Timothy Bish c5998444cf https://issues.apache.org/jira/browse/AMQ-6319
Additional fixes and tests for disable of non-SASL client connects.
2016-06-10 17:11:44 -04:00
Timothy Bish c49db029ab https://issues.apache.org/jira/browse/AMQ-6319
Improve configuration for disabling non-SASL connections.
2016-06-09 17:32:41 -04:00