JMS interview questions
- Q. When to Remove messages from the queue ? view answer
- Q. What is poison messages? And how to handle poison messages? view answer
- What are the Message Headers in JMS message ? view answer
- What are the steps to send and receive JMS message ? view answer
- What is Publish/Subscribe Messaging in JMS ? view answer
- What Point-to-Point Messaging in JMS ? view answer
- What are the main component in JMS? view answer
- How Does the JMS Work with the J2EE ? view answer
- What Is Messaging?
view answer
- Q. What is the difference between pub/sub and Point to Point i.e. p2p. ? view answer
- What is the different between JMS and RPC?
view answer
- What are the types of messaging?
view answer
- What are the various message types supported by JMS?
view answer
|
!!! 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.
|