Load interceptors in XML file in camel application based on spring boot

2016-10-10 Thread sridharb
I am able to separate out the route definitions and rest-dsl routes in separate XML files in the folders camel and camel-rest in my Camel Application based on Spring boot. They are also loaded successfully upon startup. I now want to add interceptors to the routes so that I can have cross cutting

Re: Load interceptors in XML file in camel application based on spring boot

2016-10-11 Thread sridharb
Hi, Thanks for your response. I will try importing the xml file with interceptors with the required namespace. I need another clarification related to the interceptors. There is an intercept strategy which I see is available in camel. Want to understand the use case for that. Is it an another a

Re: Load interceptors in XML file in camel application based on spring boot

2016-10-11 Thread sridharb
Hi, I tried to use *@ImportResource* but I get the error as below, org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 1 in XML document from class path resource [interceptors.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 1; columnNumber:

Lookup host and port info of Destinations in Route from Service Registry

2016-12-19 Thread sridharb
Hi, Is there way to leverage the features of Service Discovery and Load Balancing provided by Spring Cloud Eureka in a Apache Camel Application. I am looking for a way to lookup up the destinations used in Camel routes from a Service registry like Eureka. Thanks, Sridhar -- View this message