Hi arashun
I have an MDB that receives messages from a queue. In some circumstances that
MDB calles MessageDrivenContext.setRollbackOnly() if it fails to process the
message. I do this so that the message will be redelivered at a later time. I
also have a queue with the following configiration
<depends
optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager
30000
Looking at the jmx-console of a given destination, ie my queue above, I can
view the various attributes of a queue and I can also invoke the
java.util.List listMessages()
MBean operation which lists the messages. Once can also view the current queue
depth of the Queue on the jmx-console. The listMessages and QueueDepth
operation/attribute, will only display messages that have not yet been
delievered, but does not include those messages that have failed to be
delivered and are scheduled for re-delivery.
As for exceptions, I do not get any nor are there any warnings in the log files.
I suppose all I was wanting to know is, is there anyway to list the messages
that have been scheduled for redelivery.
Shafiek
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3905704#3905704
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3905704
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user