To find out the messages that are stuck in transaction in the broker
use
GF_HOME/imq/bin/imqcmd query txn ......
command.
Once you have the transaction ids, you can rollback the transactions that are in incomplete state using
GF_HOME/imq/bin/imqcmd rollback txn
This should unstick the message.
[Message sent by forum member 'rampsarathy' (rampsarathy)]
http://forums.java.net/jive/thread.jspa?messageID=266673