requestTimeout means the timeout for waiting for a reply when using the InOut 
Exchange Pattern (in milliseconds).
You can find more information about the requestTimeout option by looking it up 
in the camel-jms[1] wiki page.

[1]https://camel.apache.org/jms

--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On September 10, 2014 at 4:00:33 PM, rajiv.jain ([email protected]) wrote:
> Hi
>  
> I have a CustomProcessor that implements Processor. Below is the example
> code:
>  
> public class NotificationRouter extends SpringRouteBuilder {
>  
> public void configure() throws Exception {
> Properties properties = new Properties();
> properties.load(ClassLoader.getSystemResourceAsStream(new
> String("camel.properties")));
> ApplicationContext applicationContext = getApplicationContext();
>  
> from(properties.getProperty("source")).unmarshal().jaxb("com.example.entities.xml").convertBodyTo(Entity.class)
>   
> .multicast()
> .to("direct:x")
> .end();
> from("direct:x").process((ContentEnricherProcessor)
> applicationContext.getBean("contentEnricherProcessor"))
> .to(properties.getProperty("activemq.destination"));
> }
> }
>  
> In the configuration file I have these settings:
>  
> source=activemq:queue:notification
> activemq.location=vm://localhost?broker.persistent=false
> activemq.destination=mock:result
>  
> In the code these values are picked up. When I place ?requestTimeout like
> this:
>  
> source=activemq:queue:deliverynotification?requestTimeout=2000
> activemq.location=vm://localhost?broker.persistent=false
> activemq.destination=mock:result
>  
> What does this mean? What does this do?
>  
>  
>  
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Apache-Camel-requestTimeout-tp5756273.html  
> Sent from the Camel - Users mailing list archive at Nabble.com.
>  

Reply via email to