Announcement Announcement Module
Collapse
No announcement yet.
Stop receiving messages in case of an Exception Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Stop receiving messages in case of an Exception

    I'm using the

    Code:
    <jms:message-driven-channel-adapter id="testQueueAdapter" container="testQueueListener"
                                            channel="testQueueInChannel" />
    to receive JMS messages from a WebSphere MQ queue. When an Exception occurs when handling a message, I want the adapter to stop receiving messages.
    How can I do this ?

  • #2
    Add a <control-bus/> and send a message to it "testQueueAdapter.stop()".

    Comment

    Working...
    X