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

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 jean-yves.terr...@sap.aphp.fr wrote: I've tried to use String.class argument to convert it in string but I get an empty string.

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

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 m...@massfords.com 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

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

Re: accessing suspended exchanges

2014-12-18 Thread Claus Ibsen
On Thu, Dec 18, 2014 at 6:12 PM, Mark Ford m...@massfords.com 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

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:

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 check

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 -

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 elpa...@gmail.com 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

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 ajit.kalyan.chakravar...@gmail.com wrote: Hi I have a file route configured in the spring camel context. I am bringing up camel context from my java