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

[517 byte] By [awid2] at [2007-11-26 10:16:11]
# 1
For JCAPS 5.1.1 see<CAPSInstallRoot>/lofgicalhost/extra/JMSJCA-readme.html, section namedRedelivery Handling (deadletter queue).Thanks Frederic :-)
MichaelCzapski at 2007-7-7 2:09:23 > top of Java-index,Java Enterprise System,Java Composite Application Platform Suite -- General Discussion...