« Return to Thread: Maximum redeliveries

Maximum redeliveries

by Andrew Birkett :: Rate this Message:

Reply to Author | View in Thread

Hi Stompers,

Is it possible to control ActiveMQ's maximumRedeliveries property via STOMP?

My STOMP consumer rejects messages by using ack:client and unsubscribing
when the message handler fails.  I want to avoid the 'poison pill' case
where something in the message is repeatedly causing my handler to crash.

In JMS-land, I'd set a RedeliveryPolicy on the
ActiveMQConnectionFactory.  The STOMP docs mention various properties,
but not maximumRedeliveries and, despite trying various permutations,
I've not managed to get it to work.  Is there a way to do it?

Andrew

--
- http://www.nobugs.org -

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: Maximum redeliveries