🎄 Happy Holidays! 🥳
Most of Solace is closed December 24–January 1 so our employees can spend time with their families. We will re-open Thursday, January 2, 2024. Please expect slower response times during this period and open a support ticket for anything needing immediate assistance.
Happy Holidays!
Please note: most of Solace is closed December 25–January 2, and will re-open Tuesday, January 3, 2023.
Message Priority
Hi All,
My Publisher using REST API pushes the data to Solace and the consumer uses JMS.
I have enabled priority on Queue.
But how to set priority on a message ?
And how to configure message priority while consuming messages ?
Best Answers
-
Unfortunately, REST message publishers do not set the JMSMessagePriority property at this time.
The following URL contains the text explaining this: https://docs.solace.com/RESTMessagingPrtl/Solace-REST-Message-Encoding.htmJMS Message Priority Messages received from a REST producer will not have a JMS message priority field set, and the field will not be present in Solace messages.
If this functionality is important to you, I would suggest logging a support ticket to have support raise an enhancement request to add this feature.
5 -
@Naga were you able to get this resolved?
5
Answers
-
Unfortunately, REST message publishers do not set the JMSMessagePriority property at this time.
The following URL contains the text explaining this: https://docs.solace.com/RESTMessagingPrtl/Solace-REST-Message-Encoding.htmJMS Message Priority Messages received from a REST producer will not have a JMS message priority field set, and the field will not be present in Solace messages.
If this functionality is important to you, I would suggest logging a support ticket to have support raise an enhancement request to add this feature.
5 -
I am not aware of how this can be achieved using REST messaging. You may want to log a Support ticket and see if they have any workarounds/tricks but afaik, it's a feature not exposed to REST at this time.
1 -
@Naga were you able to get this resolved?
5