Results 1 to 3 of 3

Thread: DefaultMessageListenerContainer not closing JMS connections

  1. #1
    Join Date
    Apr 2006
    Posts
    2

    Default 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. #2
    Join Date
    Aug 2007
    Location
    Paris
    Posts
    25

    Default

    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 at 10:04 AM.

  3. #3
    Join Date
    Apr 2008
    Posts
    9

    Default

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •