This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "ActiveMq NonBlocking Redelivery" Watch "ActiveMq NonBlocking Redelivery" New topic
Author

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?

Regards,
-Pankaj




PANKAJ SHET
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