Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extra Message Annotations Support #40

Open
obbyK opened this issue Jun 30, 2020 · 1 comment
Open

Extra Message Annotations Support #40

obbyK opened this issue Jun 30, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@obbyK
Copy link

obbyK commented Jun 30, 2020

I can see there are some already supported message annotations options in AmqpMessage like withAddress(String) and WithId(String) but no option to add any other message annotation with name and value, could be With(String,String). This would allow support for scheduled messages interoperability with JMS. Artemis uses the annotations x-opt-delivery-time and x-opt-delivery-time for scheduling messages. I had raised this issue on mutiny reactive messaging here and saw it depends on this client.

@obbyK obbyK added the enhancement New feature or request label Jun 30, 2020
@obbyK
Copy link
Author

obbyK commented Jun 30, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant