Open obbyK opened 4 years ago
I can see the that the org.apache.qpid.proton.message.Message
under the hood has getMessageAnnotations
and set setMessageAnnotations
and these are the same annotations used by ActiveMQ in this class InboundTransformer to map the AMQP x-opt-delivery-*
annotations to the JMS ScheduledMessage.AMQ_SCHEDULED_*
properties.
I can see there are some already supported message annotations options in
AmqpMessage
likewithAddress(String)
andWithId(String)
but no option to add any other message annotation with name and value, could beWith(String,String)
. This would allow support for scheduled messages interoperability with JMS. Artemis uses the annotationsx-opt-delivery-time
andx-opt-delivery-time
for scheduling messages. I had raised this issue on mutiny reactive messaging here and saw it depends on this client.