Hi there,
we are using activeMQ 5.5.2 as message broker for means of job distribution
across systems and as safeguard against failures.
Now a new reqiurement rouse in the means of consuming messages in order of
their priority, so that important jobs are processed before unimportant
ones.
Looking
hmm. prefetch may be causing you some trouble, use prefetch=0 to
ensure each receive asks the broker for the next highest priority
message, otherwise a newly created high priority message could be
backed up behind prefetched low priority ones.
Note the test for priority:
Thanks for the quick response.
So your saying that activemq does support my use case right?
Well the Junit Test looks okay too, I just read some blog entries and jira
bugs of activemq, that suggested that prioritizedQueues will only be
supported in 6.0, but I guess those posts where outdated.
I
I'm having a very similar issue. I'm using 5.5 on Linux Ubuntu with Java 6. I
have an embedded broker inside Tomcat forwarding messages to a master slave
share nothing setup. Consumers are in a different machine running Tomcat
connected directly to the master. Everything seems to work just fine
Hi Chris
Try adding http core jar, not sure if activemq ships this jar with it. If not
then try to download this from here
http://findjar.com/class/org/apache/http/message/AbstractHttpMessage.html
Sent from my iPad
On May 4, 2012, at 10:47 AM, Chris Robison chrisdrobi...@gmail.com wrote:
I'm