dlq handling stops activemq from starting?

2012-05-28 Thread Christopher Wood
I've read this about DLQ: http://activemq.apache.org/message-redelivery-and-dlq-handling.html But when I try to use it as in the example (queue=">") ActiveMQ doesn't start (5.5.1, although similar behaviour with 5.6.0). If I take the attached activemq.xml and use it as is, I get a working Activ

Re: Sync between 2 queues accross DC

2012-05-28 Thread Mohit Anchlia
On Mon, May 28, 2012 at 8:58 AM, Dejan Bosanac wrote: > Yes. The term sync you used in the original email is a bit confusing, > as a message can be only in one broker queue at the time. They will > get forwarded to the remote broker if there is demand (consumers) for > that queue on the remote br

Re: Sync between 2 queues accross DC

2012-05-28 Thread Dejan Bosanac
Yes. The term sync you used in the original email is a bit confusing, as a message can be only in one broker queue at the time. They will get forwarded to the remote broker if there is demand (consumers) for that queue on the remote broker. Regards -- Dejan Bosanac Senior Software Engineer | FuseS

Re: Sync between 2 queues accross DC

2012-05-28 Thread Mohit Anchlia
On Mon, May 28, 2012 at 7:18 AM, Dejan Bosanac wrote: > Hi, > > store and forward is massively used, but you cannot sync queues across > brokers. In network of brokers queue is distributed over brokers and > messages will be load balanced between brokers. > > Could you please elaborate? If I pub

Re: Monitoring store and forward

2012-05-28 Thread Dejan Bosanac
You can use JMX to see message enqueue/dequeue counts on network connectors. But the best thing is to see if you see desired rates in your producers and consumers. Regards -- Dejan Bosanac Senior Software Engineer | FuseSource Corp. dej...@fusesource.com | fusesource.com skype: dejan.bosanac | tw

Re: Acknowledgements and transacted sessions

2012-05-28 Thread Gary Tully
there are two aspects to this: 1) standard jms redelivery semantics. In activemq this is handled by the consumer, so client side. redelivery occurs on "transacted" sessions if there is a rollback or an exception processing the message. While redelivery is in process, the message is not visible to

Re: Sync between 2 queues accross DC

2012-05-28 Thread Dejan Bosanac
Hi, store and forward is massively used, but you cannot sync queues across brokers. In network of brokers queue is distributed over brokers and messages will be load balanced between brokers. Regards -- Dejan Bosanac Senior Software Engineer | FuseSource Corp. dej...@fusesource.com | fusesource.

Re: change strategy for determining failure of primary in JBDC-backed setup

2012-05-28 Thread Alex Hooper
Gary Tully uttered: There should be a single statements element with attributes, so something like: *ahem*... To much staring and not enough looking, or something. Thanks, that has done the trick and now all is much better (except for my feeling like a moron). Many thanks, Alex.

Re: change strategy for determining failure of primary in JBDC-backed setup

2012-05-28 Thread Gary Tully
There should be a single statements element with attributes, so something like: On 28 May 2012 07:15, Alex Hooper wrote: > Gary Tully uttered: > >> you can set a specific state

Acknowledgements and transacted sessions

2012-05-28 Thread spam trap
Hi, Can someone help me understand better the way ActiveMQ handles transactions and acknowledgements? I need to write a consumer that processes a message. If something goes wrong or the consumer crashes we need the message to be consumed again (when the consumer is restarted). Should I use CLIE