Unable to consume messages

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Unable to consume messages

Issue 1:
I have one MDB (EJB 3.0) to consume Active MQ queue messages and it works fine but here the problem after a long time (more specific after 1/2 days) the MDB does not consume the message. It is required to restart the Jboss server to consume the messages.

MDB is deployed in Jboss 4.2.3 GA server and Apache Active MQ 4.1.1

Here is xxx-jm-ds.xml that deploys in jboss deploy folder.

MDB configuartions:-

@MessageDriven(name = "q.aoma-glores.request", activationConfig = { @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"),
    @ActivationConfigProperty(propertyName = "destination", propertyValue = "q.aoma-glores.request"), @ActivationConfigProperty(propertyName = "acknowledgeMode", propertyValue = "Auto-acknowledge") })
public class GloresProcessor implements MessageListener {

Issue 2:
If the Active MQ restarts, Jboss server also is required to restart consuming the messages. Could you please help me to avoid the Jboss restart.