Re: Handling Exceptions not handled by the DeadLetterChannelBuilder

2016-11-23 Thread mayur_bm
Thanks Claus. my goal is to handle exception in DoStart method of my custom class which implements *DefaultConsumer*. here i re-used the concept from the link you have given and tried throwing exception using below approach which will raise ExchangeFailedEvent . this event can be handled and i

Handling Exceptions not handled by the DeadLetterChannelBuilder

2016-11-22 Thread mayur_bm
Hi, i see that if component implements DefaultConsumer and its being run in the route & if it throws exception in application logic before an Exchange is created and we call the processor.process(exchange). its not being handled by the DeadLetterChannelBuilder ErrorHandlerRef which is defined in

Camel event notifier query

2016-09-23 Thread mayur_bm
Hi, I have Osgi container where dynamically we inject camel context. My requirement is to tap camel exchanges which traverses across various routes in those camel contexts centrally!!! Assume if route has some issues with end points then those exchanges will be propagated with the issue details

Issue with Big CamelContext XML configuration files

2016-09-13 Thread mayur_bm
Hi , i have spring dsl based camel context xml file. file is around 5 MB due to some of the camel custom components has endpoint properties which has encoded XML content. bundles gets activated in OSGI container but not camel context. but same will work when size of xml is less!!!. while

using camel tracer

2016-08-18 Thread mayur_bm
Hi, i want to use with log4J. any example i can see? i have configured bean like below in camelcontext: i have log4j.properties with below values: log4j.rootLogger=INFO, out log4j.logger.org.apache.camel=DEBUG

Camle Tracer issue

2016-05-03 Thread mayur_bm
Hi, i have custom Logging implementation which extends AppenderSkeleton. i do mapping of 'LoggingEvent event" to my custom logger method. when i try to use Tracer in JAVA code as like below : Tracer tracer = new Tracer(); tracer.setTraceOutExchanges(true);

Re: onException not working

2016-03-23 Thread mayur_bm
Thank you :) if i mention like " java.lang.Exception" in onException, does it handles all kind of exceptions derived from it?( for ex: NullPointerException, IOException etc) here my application already has logging framework, i want to redirect all Camel Traces in to same trace files created by

onException not working

2016-03-23 Thread mayur_bm
Hi, i have onException configured for my camel context, which has couple of routes. i have configured onException as below: java.lang.Exception true ${exception.stacktrace} here since my component

issue with @UriParam

2015-07-22 Thread mayur_bm
Hi, i have built an custom component, whose endpoint implementation is as below: @UriEndpoint(scheme = sapper) public class PersistenceEndpoint extends DefaultEndpoint { @UriParam protected String user = ; @UriParam protected String password = ; public

Re: using Existing jetty server

2015-07-11 Thread mayur_bm
Thanks Grzybek, in case if i use the approach given here http://rrusin.blogspot.in/2010/07/jetty-webapp-osgi-way.html , will i be consuming jetty service in Camel Route? Regards, Mayur -- View this message in context:

using Existing jetty server

2015-07-10 Thread mayur_bm
Hi, I have a OSGi bundle, which is running the jetty instance. this OSGI bundle is not OSGI service. I just want to consume this Jetty instance in my Camel Route. is this possible? Regards, Mayur -- View this message in context:

Camel with Equinox OSGi in end-user product scenarios.

2015-07-08 Thread mayur_bm
Hi, i have seen tutorials of using CAMEL OSGI with Apache Karaf / Apache ServiceMix. i want to know weather i can use Equinox Framework instead of Karaf/ServiceMix. is there any tutorials on using Camel OSGI with Equinox Framework?. Regards, Mayur -- View this message in context:

Re: rapid consumption of ActiveMQ messages

2015-05-15 Thread mayur_bm
Thanks Guru, is this solution means there will be 5 concurrent connection to my message processor and each connection will be draining the ActiveMQ queue?. Regards, Mayur -- View this message in context:

rapid consumption of ActiveMQ messages

2015-05-14 Thread mayur_bm
i am sending appx 1000 messages/sec in to ActiveMQ queue, via Camel Route. Camel Context is as follows: beans xmlns=http://www.springframework.org/schema/beans; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:camel=http://camel.apache.org/schema/spring;