Interview Questions

How do I put a message back on the queue for processing?

BEA WebLogic Questions and Answers


(Continued from previous question...)

How do I put a message back on the queue for processing?

The following are several approaches:
* Use a transacted session, then rollback the session so the message will go back to the queue.
* Use Session.CLIENT_ACKNOWLEDGE when creating a session, then recover the session so the message will go back to the queue.
* Use a JTA transaction, then rollback the transaction so the message will go back to the queue.

(Continued on next question...)

Other Interview Questions