Announcement Announcement Module
No announcement yet.
DefaultMessageListenerContainer not closing JMS connections Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • DefaultMessageListenerContainer not closing JMS connections

    It appears to me that if I call shutdown on DefaultMessageListenerContainer, it does not close the underlying connection, has anyone else seen this or am I calling the wrong method.

    Thanks in advance

  • #2
    Hi, i had the same problem during two weeks !

    I was calling the shutdown() method inside the MDP, it blocked the container.

    So, are you sure their isn't something which blocks a function somewhere in the associated MDP/Listener ?
    Last edited by bouba331; Apr 24th, 2008, 11:04 AM.


    • #3
      I had a similar issue, but I solved it by calling .destroy() on the DefaultMessageListenerContainer object. If you read the JavaDoc it states that at some point in the super class call chain, it specifically specifies that the underlying connection will be closed.