Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JMS Priority set by a custom header

Is there a way to prioritize the messages in the JMS broker according to a custom header value?

For Example: "purchase date". get oldest first etc.

Please advise.

like image 328
YaOg Avatar asked May 05 '26 02:05

YaOg


1 Answers

There is no way to do this within the boundaries of the JMS standard. It doesn't support custom routing rules like this.

However, many products that implement JMS support some kind of rules-based routing/prioritizing like this, so you should look into your products documentation.

like image 61
Joachim Sauer Avatar answered May 08 '26 22:05

Joachim Sauer