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.