I really would like to be able to change the JMSPriority for the following scenario:
A messaging-partner sends all its messages (of various types) to the same queue in Sonic. On this queue an ESB process grabs the messages and routes them to the message-type/partner specific on-ramp queue. As some messages of some messageTypes are content/reply type I want to give these messages a higher priority, so that they are processed before the one-way-sent messages.
However it seems the JMSPriority cannot be changed for messages in the ESB.
I've tried:
As far as I could comprehend the JMS specifications an option to update the JMSPriority is optional to be implemented...
Is it at all possible to update the JMSPriority for messages that reside on the ESB?
sending message priority is not read from the message you send but from the endpoint configuration you send it to. So change your endpoint to the desired priority.
Good to know I was searching for a solution in the wrong place!
Thomas, thanks for the answer!