wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes ActiveMq NonBlocking Redelivery Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "ActiveMq NonBlocking Redelivery" Watch "ActiveMq NonBlocking Redelivery" New topic

ActiveMq NonBlocking Redelivery

Pankaj Shet
Ranch Hand

Joined: Sep 08, 2006
Posts: 219

Hi Guys,

I am using activeMq version 5.7.x,

I am having one ActiveMq queue to which the listener listens.

Queue has a ConnectionFactory whose redeliveryPolicy is set to 3, intialRedeliveryDelay set to 5000.

Queue have some good messages and bad messages.

While listening to such queue, when bad messages come, they are tried 3 times with the wait time of 5000 millis, but then the good messages are blocked for that much time span.

What I want is, during the wait time of 5000 millis for each retry, the processing of good messages should continue and should not wait for bad message processing.

For this I tried 1 attribute of connectionFactory, i.e. nonBlockingRedelivery set to true.

But nonBlockingRedelivery is not working.

Is there any other way to do this?


B.Sc.(I.T.), S.C.J.P., S.C.W.C.D., PGDAC(CDAC)
I agree. Here's the link: http://aspose.com/file-tools
subject: ActiveMq NonBlocking Redelivery
Similar Threads
Mappings vs Annotations
Messaging Architecture using Spring and ActiveMQ
Multiple queue listeners
How to deploy MDP on DM Server?
actveMQ 5.5 jndi is not working