79720773

Date: 2025-07-31 04:21:18
Score: 2
Natty:
Report link

You can prevent rollbacks for specific exceptions in a Spring JMS listener with sessionTransacted(true) :
1. Catch Exception in Listener method using try catch block.
2. Use customer error handling
3 .Also you can send invalid messages that don't want retry in Dead Letter Queue.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: shailesh patil