Re: Changes in Java 8 generics breaking Camel

2014-12-18 Thread andrewcelerity
I opened a Jira ticket and attached a sample app that replicates the problem. Hopefully it's an easy fix. https://issues.apache.org/jira/browse/CAMEL-8160 -- View this message in context: http://camel.465427.n5.nabble.com/Changes-in-Java-8-generics-breaking-Camel-tp5760638p5760876.html Sent

Re: Java DSl XPATH text node

2014-12-18 Thread Claus Ibsen
Hi You get a NodeList - are you sure your xpath is only selecting a single node, so it can be returned as plain text? On Thu, Dec 18, 2014 at 8:55 AM, sekaijin wrote: > I've tried to use String.class argument to convert it in string but I get an > empty string. > > Thank to help me > I'm running

Re: Java DSl XPATH text node

2014-12-18 Thread sekaijin
yes myXML is And containt only one "entete" TAG But I've changed my Xpath for And now It work By. -- View this message in context: http://camel.465427.n5.nabble.com/Java-DSl-XPATH-text-node-tp5760835p5760878.html Sent from the Camel - Users mailing list archive at Nabble.com.

accessing suspended exchanges

2014-12-18 Thread Mark Ford
I'm using the BacklogDebugger but don't see an easy way to access the suspended exchanges. The map is private and the SuspendedExchange class itself is also private. While at the breakpoint, I'd like the user to be able to inspect the Exchange. It would help if there were simple getters for this v

Re: accessing suspended exchanges

2014-12-18 Thread Claus Ibsen
You can use dumpTracedMessagesAsXml to get the message content in xml. On Thu, Dec 18, 2014 at 5:26 PM, Mark Ford wrote: > I'm using the BacklogDebugger but don't see an easy way to access the > suspended exchanges. The map is private and the SuspendedExchange class > itself is also private. Whil

Re: accessing suspended exchanges

2014-12-18 Thread Mark Ford
I saw that option but it's better suited for JMX. In my case, everything is resident locally so dumping to XML and having to provide a string adapter for the payload seems like a lot to do. Also consider that I need to parse everything back from XML to see what the message is. Would you be open to

Re: accessing suspended exchanges

2014-12-18 Thread Claus Ibsen
On Thu, Dec 18, 2014 at 6:12 PM, Mark Ford wrote: > I saw that option but it's better suited for JMX. In my case, everything is > resident locally so dumping to XML and having to provide a string adapter > for the payload seems like a lot to do. Also consider that I need to parse > everything back

Re: AW: camel - xsd

2014-12-18 Thread Aki Yoshida
Jan and I had a couple of email exchange on this. It turns out that the compliance check at the beginning of the processing was not working when there is no xml-declaration in the input. Consequently, when your input message has no xml-declaration and you have sjxp parser, you will get incorrectly

Creation of a Custom Component with URI parameters

2014-12-18 Thread IgnatiusReilly
Hi, I am trying to create a custom component with URI parameters. I haven't found an example that shows the full implementation of this kind of component so I modified the example from the Camel in Action book in order to add a URI parameter. To do so, I modified the following classes: HelloWorld

AW: AW: camel - xsd

2014-12-18 Thread jhm
Good catch :) Jan > -Ursprüngliche Nachricht- > Von: Aki Yoshida [mailto:elak...@gmail.com] > Gesendet: Donnerstag, 18. Dezember 2014 18:29 > An: users@camel.apache.org > Betreff: Re: AW: camel - xsd > > Jan and I had a couple of email exchange on this. > It turns out that the compliance

Re: cxf soap call PhaseInterceptorChain exception (cannot cast to String) when using dataFormat=POJO

2014-12-18 Thread dbremmen
Hi! I'm stuck in the same area. Were you able to find out a solution? Thanks! David -- View this message in context: http://camel.465427.n5.nabble.com/cxf-soap-call-PhaseInterceptorChain-exception-cannot-cast-to-String-when-using-dataFormat-POJO-tp5736712p5760898.html Sent from the Camel - Us

Re: Creation of a Custom Component with URI parameters

2014-12-18 Thread Claus Ibsen
On Thu, Dec 18, 2014 at 8:25 PM, IgnatiusReilly wrote: > Hi, > > I am trying to create a custom component with URI parameters. I haven't > found an example that shows the full implementation of this kind of > component so I modified the example from the Camel in Action book in order > to add a URI

Camel application getting down after creating route

2014-12-18 Thread sakchakravarthi
Hi I have a file route configured in the spring camel context. I am bringing up camel context from my java main method using ClassPathXmlApplicationContext. After creating routes my application is getting down. There is no error or exception in log. But when I added jetty route application is runni

Re: Camel application getting down after creating route

2014-12-18 Thread Claus Ibsen
Hi See this link http://camel.apache.org/running-camel-standalone-and-have-it-keep-running.html On Fri, Dec 19, 2014 at 8:08 AM, sakchakravarthi wrote: > Hi > I have a file route configured in the spring camel context. I am bringing up > camel context from my java main method using ClassPathXmlA