Back Forum Reply New

shutdown on DefaultMessageListenerContainer block my thread

Code:
for (DefaultMessageListenerContainer container : getListenerContainers()) {
try {container.destroy();
} catch (Exception exc) {
if (logger.isDebugEnabled())
logger.debug(quot;Error shutting down ListnerContainerquot;, exc);
}
}
after calling this its blocking the execution and not listening any message

can any one healp
¥
Back Forum Reply New