Feb 27th, 2008, 05:31 PM
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?.
Mar 6th, 2008, 08:30 AM
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.