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
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
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
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
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
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);
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
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
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
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:
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:
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:
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:
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;
14 matches
Mail list logo