Hi @pooja,
You tried my first guess - not using the CachingConnectionFactory is usually the culprit here. When you run your app do the logs say that the CachingConnectionFactory is being instantiated?
A few questions:
- Are you using core spring framework or Spring boot?
- Is this app a consumer, sender, or both?
- is it disconnecting after each send/receive?
- can you share more of your Spring configuration?