Hello,

I have used the failover mechanism along with jms prefetchPolicy for the
consumer. But the consumer is not starting when I use both of these in the
connection url.  


Following is the full borker url I have used

failover:(tcp://dev01.sportingstatz.com:61616?jms.prefetchPolicy.queuePrefetch=0&wireFormat.maxInactivityDuration=0)&timeout=-1

Camel version 2.4
Active MQ :5.2.0
Java ; 1.6

Here is the log that I got when I start the consumer, after the last line
itis not saying the routes are started.

2010-08-06 13:50:26,705 [main] INFO 
org.springframework.context.support.FileSystemXmlApplicationContext  -
Refreshing
org.springframework.context.support.filesystemxmlapplicationcont...@1bd2664:
startup date [Fri Aug 06 13:50:26 BST 2010]; root of context hierarchy
2010-08-06 13:50:26,799 [main] INFO 
org.springframework.beans.factory.xml.XmlBeanDefinitionReader  - Loading XML
bean definitions from file
[C:\ProjectRepo\valde_latest\cif\trunk\spring-config.xml]
2010-08-06 13:50:26,986 [main] INFO 
org.springframework.beans.factory.support.DefaultListableBeanFactory  -
Pre-instantiating singletons in
org.springframework.beans.factory.support.defaultlistablebeanfact...@2acc65:
defining beans [activemq,activemq1,webspheremq,socketFactory,myRetryBean];
root of factory hierarchy
2010-08-06 13:50:27,767 [main] DEBUG
com.opta.delivery.ssl.OptaSSLSocketFactory  - JSSE is installed correctly!
2010-08-06 13:50:28,189 [main] INFO 
org.apache.camel.impl.DefaultCamelContext  - JMX enabled. Using
ManagedManagementStrategy.
2010-08-06 13:50:28,221 [main] DEBUG
com.opta.delivery.FeedNotificationProcessor  - feedserviceuri:
http://dev01.sportingstatz.com:8080/dove/feed
2010-08-06 13:50:28,392 [main] DEBUG
com.opta.delivery.RecipientAggregationStrategy  - New
RecipientAggregationStrategy created
2010-08-06 13:50:28,486 [main] INFO 
org.apache.camel.impl.DefaultCamelContext  - Apache Camel 2.4.0
(CamelContext: camel-1) is starting
2010-08-06 13:50:29,158 [main] INFO 
org.apache.camel.impl.converter.AnnotationTypeConverterLoader  - Found 8
packages with 18 @Converter classes to load
2010-08-06 13:50:29,221 [main] INFO 
org.apache.camel.impl.converter.DefaultTypeConverter  - Loaded 159 type
converters in 0.547 seconds


**Sri 
-- 
View this message in context: 
http://camel.465427.n5.nabble.com/Consumers-need-to-restart-when-ActivemQ-restarts-tp2428233p2428233.html
Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.

Reply via email to