Re: spring dsl sample for redelivery policy

2012-11-13 Thread jiunjiunma
ConnectionFactory. > Is this what you are looking for? > > Hope this helps. > > Regards, > Torsten Mielke > torsten@ > tmielke.blogspot.com > > > On Nov 13, 2012, at 7:12 AM, jiunjiunma wrote: > >> Hi, >>Does anyone have a sample on how to set the

spring dsl sample for redelivery policy

2012-11-12 Thread jiunjiunma
Hi, Does anyone have a sample on how to set the redelivery policy in spring DSL? The pooled connection factory only takes a delivery policy (not a delivery policy map) and I got an exception saying destination is not set when I set the ref to a RedeliveryPolicy object. According to this doc ht

Re: Will messages in DLQ be store-forwarded in network-of-broker setting?

2012-11-12 Thread jiunjiunma
I wonder if that is is occurring in your scenario. It could be if your > consumer bounces between brokers, because it will create demand and > suck messages across the bridge even if it does not consume them all. > > some more detail at: > http://activemq.apache.org/networks-of-brokers.h

Re: Will messages in DLQ be store-forwarded in network-of-broker setting?

2012-11-12 Thread jiunjiunma
te > Can you post your network connector configuration? > > On Mon, Nov 12, 2012 at 11:21 AM, jiunjiunma < > jiunjiunma@ > > wrote: > >> I had a small test case that cleans up the ActiveMQ DLQ. It works fine >> when I >> am running a single broker. When I ra

Will messages in DLQ be store-forwarded in network-of-broker setting?

2012-11-12 Thread jiunjiunma
I had a small test case that cleans up the ActiveMQ DLQ. It works fine when I am running a single broker. When I ran a network of brokers (2 static brokers using per queue based DLQ setting), I noticed the client code (with uri=failover://(tcp://localhost:61616,tcp://localhost:61618)?randomize=true

cannot get connection when using activemq on ec2

2012-11-06 Thread jiunjiunma
Hi, I was running activemq with JMS transaction. When I ran activemq on my localhost, I could get the jms connection and everything worked fine, but when I tried to use an activemq on EC2, the connection always hang. (If I turned off the JMS transaction and use no-transactioned route, I have n