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 ?
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.htm
JMS 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.
@Naga were you able to get this resolved?
So can you tell me how to achieve the messages priority for REST publishers ? Is there any other option ?
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.