Announcement Announcement Module
No announcement yet.
Can I kill a consumer? Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Can I kill a consumer?

    Hi, I'm using DefaultMessageListener. Each consumer lives a long time while it's consuming a message, because this is hard work to do. In some situations, I need to kill a consumer. It is possible? The only thing that I know is the name of the consumer thread. Can anybody help me?.

    Thanks, Anselmo

  • #2
    I am not sure that you can kill a consumer. There is one option to kill the consumer indirectly(With TibCO JM Server). Get the message id of the message and go to your JMS server admin tool. get the message for that message id and delete it from the queue. I guess this will indirectly kill the consumer.