Claus
The options does not work I am using CAMEL 2.2.0 and activemq 5.3.1
        <bean id="activemq"
class="org.apache.activemq.camel.component.ActiveMQComponent">
                <property name="connectionFactory">
                        <bean 
class="org.apache.activemq.ActiveMQConnectionFactory">
                                <property name="brokerURL"
value="tcp://<IP>:61616?jms.maxReconnectAttempts=1"/>
                        </bean>
                </property>
        </bean>

Tried to debug the code and found that a thread for
org.springframework.jms.listener.DefaultMessageListenerContainer is created
and DefaultMessageListenerContainer.refreshConnectionUntilSuccessful() is
invoked. Refresh the underlying Connection, not returning before an attempt
has been successful. 

Can you any one let me know how to set the or restrict the retry to make a
successfull connection.
-- 
View this message in context: 
http://old.nabble.com/activemq-component-MaxConnection-retry-tp28386612p28547432.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to