« Return to Thread: Mule closes down when the ActiveMQ server is shut down.

Re: Mule closes down when the ActiveMQ server is shut down.

by Geir Arnesen :: Rate this Message:

Reply to Author | View in Thread

    <jms:activemq-connector name="jmsConnector.main"
                            brokerURL="${abonline_siebel.jms.brokerurl}" maxRedelivery="5"
                            specification="1.1" persistentDelivery="true"
                            clientId="esb-backbone"
                            durable="true" recoverJmsConnections="true"  
                            eagerConsumer="true">

        <spring:property name="connectionStrategy"
                         ref="retryConnectionStrategy"
                />
    </jms:activemq-connector>

    <spring:bean id="retryConnectionStrategy"
                 class="org.mule.transport.SimpleRetryConnectionStrategy">
        <spring:property name="retryCount" value="-1"/>
        <spring:property name="retryFrequency" value="15000"/>
    </spring:bean>


Hi Geir,

Can you share your config file & SimpleRetryConnectionStrategy?
I want to have a look to it.

Cheers,
Pawan Modi



Geir Arnesen wrote:
I am running on Mule 2.0.2

How do I prevent my Mule instance from shutting down when the ActiveMQ server is shut down.

I have implemented a SimpleRetryConnectionStrategy which works Ok, if I try to launch the Mule with no running ActiveMQ, and it gets it connection when when I the ActiveMQ has started up.

Geir

 « Return to Thread: Mule closes down when the ActiveMQ server is shut down.