I am trying to run a POJO message listener using Spring on weblogic 8.1. For some reason when we kill the listener application or it gets abnormally terminated the weblogic console still shows the connected consumers. Although the incoming messages are not processed because in fact there are no actual consumers. When we bring up the listener process again the listener count is increased by the new listeners. This does not happen all the time, in fact never when we stop the listener application in a normal way, but at times when my listener exist in an abnormal way the consumer are not set to zero at weblogic console.
I would appreciate if someone could help to understand , what is causing this behavior. I would like to fix it in such a way that weblogic console show no listener when there are no actual listener. Not sure if the problem lies at weblogic end or spring message listener end.
subject: Incorrect number of consumers show up on weblogic console