In a Java web application, I have a repeated download of a Type A message (e.g. 20,000 every hour). Then I have a second type of message (type B) that appear occasionally but have a higher priority than type A (say 3000). I want to be able to process these messages on one or more machines using open source software.
It seems to me that I could do this using JMS if I had a JMS server that sent messages from its queue based on priorities (for example, sent three messages of type B, and then one of types A, although all messages type A is at the top of the message queue).
Do you know that a JMS server can do this, or do you know another way to implement this?
java message-queue
Karsten silz
source share