How to set maximum redelivery count
hi,
Within my JCD I am throwing an exception to roll back a message so that it will be redelivered in case of an error. From the log I can see that the message is redelivered.
Now, I'm trying to find a way to set the maximum redelivery count within the JCD. Or a better way maybe find out how many times the message has been redelivered, so I can send it to a dead message/error queue when it reaches a certain number.
Is this possible? Has anyone done similar thing?
thanks
Ari

