Re: MinaUdpProtocolCodecFactory

2013-04-20 Thread Mikael Fernandus Simalango
Hi Thomas, As far as I reckoned, MinaUdpProtocolCodecFactory is the default UDP codec. What we did to prevent this codec from being called is by setting allowDefaultCodec=false and codec=#customCodec in the mina endpoint URL. Otherwise, you can also extend the mina component and when doing so, you

Re: Log sent messages

2013-04-20 Thread Claus Ibsen
Hi You can take a look at the event notifier http://camel.apache.org/eventnotifier-to-log-details-about-all-sent-exchanges.html There is events for sending and sent. So you have before and after. On Sat, Apr 20, 2013 at 12:20 AM, fbarbat wrote: > In a Request-Reply context, I want to log an

Re: Dynamic log level in Java DSL

2013-04-20 Thread Claus Ibsen
Hi See this FAQ http://camel.apache.org/how-do-i-use-dynamic-uri-in-to.html On Fri, Apr 19, 2013 at 7:07 PM, cgsk wrote: > Hi there, > > Is there a way to dynamically change the log level to DEBUG based on an > incoming header parameter. > > For example, > > .to(log:output?level=INFO&showHeaders

Dynamic log level in Java DSL

2013-04-20 Thread cgsk
Hi there, Is there a way to dynamically change the log level to DEBUG based on an incoming header parameter. For example, .to(log:output?level=INFO&showHeaders=true) where level=INFO has to be decided based on an incoming boolean value. This will be really helpful in transactional based logging

Re: consumer.bridgeErrorHandler=true on netty uri

2013-04-20 Thread Claus Ibsen
Well there is a listener that calls the exception handler if the operation is not a success https://svn.apache.org/repos/asf/camel/tags/camel-2.10.4/components/camel-netty/src/main/java/org/apache/camel/component/netty/handlers/ServerResponseFutureListener.java I would assume netty will invoke tha