|1600 PMP mock questions||1400 CAPM mock questions||800 SCJP 6 mock questions||600 OCAJP 7 mock questions||590 OCPJP 7 mock questions||556 SCWCD 5 mock questions||500 OCEJWCD 6 mock questions||pdfDownload (java,struts, hibernet etc)|
JMS interview questions
!!! JMS interview questions !!!
Q. When to Remove messages from the queue ?
When an application uses ConnectionConsumers, JMS might need to remove messages from the queue in a number of situations:
1) Badly formatted message
A message might arrive that JMS cannot parse.
2) Poison message
A message might reach the backout threshold, but the ConnectionConsumer fails to requeue it on the backout queue.
3)No interested ConnectionConsumer
For point-to-point messaging, when the QueueConnectionFactory is set so that it does not retain unwanted messages, a message arrives that is unwanted by any of the ConnectionConsumers.