I want to load balance JMS messages using message selectors.
A message has a property "EntitiyIX".
The selectors shall be like:
"EntitiyIX Modulus 2 == 0" ==> route to queue A
"EntitiyIX Modulus 2 != 0" ==> route to queue B
What's the operator to calculated the modulus in a JMS message selector?
Thanks, Alex
Assuming that the property is an integer, then I believe you could do
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With