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); trac

Re: Camel BeanIO catch and ignore InvalidRecordException

2016-05-03 Thread Brad Johnson
ignoreUnidentifiedRecords=true Can be set on the stream. Obviously that means you have to know you want to simply ignore records that it can't parse. On Tue, May 3, 2016 at 11:30 AM, Claus Ibsen wrote: > I logged a ticket to allow to plugin a custom error handler from beanio. > https://issues.a

RE: What is direct:start in "camel in action" book?

2016-05-03 Thread Steve Huston
"direct" is a component that's used to inject messages into a route: http://camel.apache.org/direct.html "start" and "update", from your examples, are names for "direct" endpoints. -Steve > -Original Message- > From: polanki [mailto:varadaraja.pola...@pimco.com] > Sent: Tuesday, May 03,

What is direct:start in "camel in action" book?

2016-05-03 Thread polanki
couple of places I saw direct:start and direct:update as below. what does it mean from("direct:start") .transform(body().regexReplaceAll("\n", "")) .to("mock:result"); -- View this message in context: http://camel.465427.n5.nabble.com/What-is-direct-start-in-camel-in-action-book-tp5782137.html

Re: Camel BeanIO catch and ignore InvalidRecordException

2016-05-03 Thread Claus Ibsen
I logged a ticket to allow to plugin a custom error handler from beanio. https://issues.apache.org/jira/browse/CAMEL-9939 But you can configure the default to ignore various errors. There is those 3 options, see the configuration class from camel-beanio - eg BeanIOConfiguration. On Tue, May 3, 20

Re: Camel SoapFault marshalling classcast exception

2016-05-03 Thread Mac
I was able to fix the ClassCastException by adding my ObjectFactory to the contextPath, using the Multiple context paths ":" seperator. That made sure the ElementNSImpl was converted into a JAXBElement. Unfortunately, it then fails with a NullPointerException on the 1st line of the try/catch beca

Re: Camel BeanIO catch and ignore InvalidRecordException

2016-05-03 Thread hong5858
I have the same issue. I am using beanio to unmarshal a file with delimited records and need to catch invalid records while proceeding the remaining file. Is there a way to register a custom error handler? Thanks Thomas -- View this message in context: http://camel.465427.n5.nabble.com/Camel-B

Netty4 HTTP - JAAS issue

2016-05-03 Thread Charles Moulliard
Hi, I have designed a Camel REST DSL route using the Netty4 HTTP component and SSL. The Junit Test case works very well when I launch it within IntelliJ but it fails when I run the "mvn test" goal [ #77 - NettyEventExecutorGroup] JAASSecurityAuthenticator TRACE Login username: mickey using r

Re: Camel SoapFault marshalling classcast exception

2016-05-03 Thread Mac
I just tried on a different server, Tomcat 8.0.33. Same problem, getting java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.ElementNSImpl cannot be cast to javax.xml.bind.JAXBElement at Line 195 in Soap11DataFormatAdapter. It seems to be failing trying decoding org.xmlsoap.schem

Re: Camel SoapFault marshalling classcast exception

2016-05-03 Thread Claus Ibsen
Try outside WebSphere. Its smells as if IBM have some JAXB/XML parser stuff in the app server that causes problems. On Tue, May 3, 2016 at 12:40 PM, Mac wrote: > I am using > camel-soap, camel-jaxb, camel-spring 2.17.0 > websphere liberty 8.5.5.8. > > I do not have camel-saxon on the classpath. >

Re: RXCamel is not releasing the ActiveMQ connection once the subscription is complete

2016-05-03 Thread arunkabraham
Can you please look into this? -- View this message in context: http://camel.465427.n5.nabble.com/Camel-rx-is-not-releasing-the-ActiveMQ-connection-once-the-subscription-is-complete-tp5781482p5782111.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel SoapFault marshalling classcast exception

2016-05-03 Thread Mac
I am using camel-soap, camel-jaxb, camel-spring 2.17.0 websphere liberty 8.5.5.8. I do not have camel-saxon on the classpath. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-SoapFault-marshalling-classcast-exception-tp5781986p5782113.html Sent from the Camel - User