genman wrote :
| You can programmatically stop/start delivery of messages in an MDB. Look
at the JMX console under (jboss.j2ee)
|
is there a way the define the queue in such a way that when JBoss starts up,
the delivery mechanism is NOT started? And programmatically, we can start the
subvert wrote : Is it possible re-send messages in the existing DLQ?
Create an MDB (transacted) that parses the Message property
DLQHandler.JBOSS_ORIG_DESTINATION and creates a QueueSender, then sends the
message to this queue.
There are no JMX controls for this.
View the original post :
So, one solution is to replace the queue's DLQ with a custom MDB and resend the
Message to the original queue. I really don't like the idea of getting caught
in an endless loop sucking up bandwidth and other resources.
I guess I will have to create a DLQ MDB which persists the messages to a