Results 1 to 2 of 2

Thread: replyto queue not shutting down

  1. #1

    Default replyto queue not shutting down

    Greetings,

    I have a standalone app that uses two SimpleMessageListenerContainer objects. One listens to a queue to process client requests and the other listens to a topic to process administrative messages (there are many instances of this app running in a "cloud" :-) )

    One of the admin messages tells the app to shut down. When it receives the shutdown message the app calls SimpleMessageListenerContainer.shutdown on both containers. Prior to processing any client requests from the queue the application terminates after shutting down the SimpleMessageListenerContainer objects. So far so good. After processing a queue request (i.e. a reply to queue has been created) the application no longer terminates because the thread in which the reply to messages are sent is still running.

    Is there a way that this thread/queue can be shut down programatically so the app will terminate when it receives a shutdown message?

    Thanks,

    Craig

  2. #2

    Default

    Please disregard. This thread was created by another part of the application.

Posting Permissions

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