activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rsahadevan <priyavira...@gmail.com>
Subject Re: ActiveMQ Embedded with Tomcat missing messages while restart
Date Fri, 02 Jun 2017 17:11:32 GMT
HI All,

Identified the issue. JMS Listener fires before Hibernate is setup on Server
startup. Could you some one help on below points

1) How I can delay jms:listener-container for 3 minutes to start. This will
solve the issue. By the time hibernate session will be ready.

<jms:listener-container connection-factory="jmsConnectionFactory"
transaction-manager="transactionManager" acknowledge="transacted">
        <jms:listener ref="processBalanaceMDB"
destination="queue.jbilling.balance"/>
        <jms:listener ref="processPaymentMDB"
destination="queue.jbilling.processors"/>
        <jms:listener ref="notificationMDB"
destination="queue.jbilling.notifications"/>
    </jms:listener-container>





--
View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-Embedded-with-Tomcat-missing-messages-while-restart-tp4726828p4726958.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message