Apache Camel | Custom Error Handler to control behavior per Exception.

2014-05-06 Thread manchandap
Apache Camel provides 2 ways for error handling at context level: /errorHandler /and /onException/. I am looking for a solution that provides best of both the worlds in one configuration. /*What I want is that I should configure one error handler (may be a custom one) and within that custom error

TracedRouteNodes not populated when Exchange is processed in Event Notifier

2014-04-24 Thread manchandap
Hi Camel Experts, I am creating a custom Event Notifier by extending the EventNotifierSupport class. I am interested in Exchange related events for auditing purpose. While processing the Exchange Object i found out that TracedRouteNodes object is not containing any value. This is how I am accessin

Apache Camel Tracer | Would log level make a difference in the amount of information that is logged

2014-04-22 Thread manchandap
Respected Camel experts, i am exploring the usage of Tracer for logging purpose. It can be managed via JMX Console, so logging can be enabled even when developers haven't used logs in their routes. My concern is that Tracer seems to output the same amount of information irrespective of the log l

Re: Adding Routes to a running Camel Context

2014-02-06 Thread manchandap
Thanks Claus for the quick reply. I had checked this link. My queries: # Where should the following code be placed that is in the main class (that runs the camel context) or some processor. /// load route from XML and add them to the existing camel context InputStream is = getClass().getResource

Adding Routes to a running Camel Context

2014-02-06 Thread manchandap
Respected Camel Experts, I have a situation where in I need to add routes to a running Camel Context. To elaborate, I have Camel (that is a camel context) running in my production environment. A new route has been defined as XML file or Java DSL. My query is that can I make my running camel contex

Re: Apache Camel v2.12 | CXF Component | Basic Authentication | Web Service

2014-01-23 Thread manchandap
Was able to get this working by adding the following code to the Route Builder. I am using Java DSL: Map properties = new HashMap(); AuthorizationPolicy authPolicy = new AuthorizationPolicy(); authPolicy.setAuthorizationType(HttpAuthHeader.AUTH_TYPE_BASI

Re: Apache Camel v2.12 | CXF Component | Basic Authentication | Web Service

2014-01-23 Thread manchandap
Looking at the CXF Component Documentation , I notice that two new options (username and password) for Basic Authentication have been added in 2.12.3. However, from the download, I am not able t

Re: Apache Camel v2.12 | CXF Component | Basic Authentication | Web Service

2014-01-23 Thread manchandap
Thanks Willem, >> As the CxfProducer is created during the camel context start the route, >> the cxfEndpoint’s property is not updated. That was my hunch, however i was not able to prove it concretely. I will try your suggestion of updating the property in Route Builder's configure method. Thank

Re: SOAP Web service Calling using camel.

2013-12-26 Thread manchandap
Interestingly, I am also facing similar facing similar issues with invoking SOAP web service with Camel. I have my queries in a separate thread. Is it mandatory to generate client side stubs using wsdl2java. Can't we use JaxWsDynamicClientFactory of CXF that provides dynamic client without the nee

Re: How to run Camel with a web application

2013-12-04 Thread manchandap
haven't seen any reply to this wondering if i need to add more information to the original post. -- View this message in context: http://camel.465427.n5.nabble.com/How-to-run-Camel-with-a-web-application-tp5743607p5744298.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Wondering why DefaultEndpoint.createEndpointUri() is not an abstract method

2013-11-21 Thread manchandap
Thanks for your continued support on this Claus, I think a better way to create an Endpoint is to use the following constructor rather then overriding the createEndpointUri() method. This would help to keep the same info at one place. DefaultEndpoint(String endpointUri, Component component) Const

Re: Wondering why DefaultEndpoint.createEndpointUri() is not an abstract method

2013-11-21 Thread manchandap
Thanks Claus for quick response. Claus Ibsen-2 wrote > Very often the component creates the endpoint using an uri, and therefore > you have the uri already. Can you point me to some sample components that create the endpoint using an uri -- View this message in context: http://camel.465427.n