BEA Weblogic Question:
Download Questions PDF

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

Answer:

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.

Download BEA Weblogic Interview Questions And Answers PDF

Previous QuestionNext Question
What should an XPATH selector look like?What can I do when I get java.lang.OutOfMemoryError because producers are faster than consumers?