Re: Dispatch policy for ActiveMQ with new message groups? [

2014-11-20 Thread artnaseef
Also note the "can dispatch" logic checks for a match on the consumer group (yes, the message in the consumer group iterates over all of the consumers rather than bypassing the loop). -- View this message in context: http://activemq.2283324.n4.nabble.com/Dispatch-policy-for-ActiveMQ-with-new-me

Re: Dispatch policy for ActiveMQ with new message groups? [

2014-11-20 Thread artnaseef
It appears that the selection is round-robin, but not in the way you want. The round-robin of dispatching to clients is performed as usual by ActiveMQ - meaning every message goes to the next consumer in-line; here's the basic flow: ON MESSAGE DISPATCH LOOP UNTIL no more consumers OR matchi

Re: Message Selector or Composite Destinations

2014-11-20 Thread artnaseef
Ah, I see why the activemq.xml changes now. Two ways to get out of the activemq.xml: * Just have the producers directly produce to the two versioned queues, or * Use a camel route running outside of AMQ to move the messages (one nice advantage over the existing solution is it takes the overhead o

Re: kahadb cleanup problem

2014-11-20 Thread artnaseef
I recommend first identifying any cause of slow consumption (especially DLQ - they are notorious) and taking action to eliminate the slow consumption. For example, a camel route that consumes from the DLQ and logs the messages is a good way to keep the DLQ from acting as a message store - as long

Re: ActiveMQ Master Slave with ZooKeeper Session Expiration

2014-11-20 Thread James Black
Hi, I had the same issue with 2 ActiveMq 5.10 nodes and 3 ZooKeeper nodes. At first everything worked well but after long running stress tests we had the same situation were the master would step down and no node would become the new master. This would break our application and we were glad not