Re: Warning Messages in Logs when camel application running on multiple nodes

2015-05-13 Thread Henryk Konsek
Hi, You should see in the logs what is the reason for the rename failure. Maybe problems with IO? Cheers. śr., 13.05.2015 o 08:21 użytkownik ravi.4indra ravi.4in...@gmail.com napisał: Hi, I have a route using camel file2 to move a file. its working fine with a single node but with camel

Re: how to get the soap body from exchange.

2015-05-13 Thread Henryk Konsek
Hi, Try the following approach: SOAPMessage soapMessage = exchange.getIn(SOAPMessage.class); The message contains the body. The message is not a body :) . Cheers. śr., 13.05.2015 o 09:59 użytkownik jainmcs03 tojayendran.in...@gmail.com napisał: Team, I tried additional ways below, but

Re: Warning Messages in Logs when camel application running on multiple nodes

2015-05-13 Thread Reji Mathews
Can you check your file access permissions on the RemoteMountedDirectory. Apart form read, do you have 'write' rights as well?? Reji On Wed, May 13, 2015 at 2:17 PM, Henryk Konsek hekon...@gmail.com wrote: Hi, You should see in the logs what is the reason for the rename failure. Maybe

Re: Schematron component: Not supported: http://saxon.sf.net/feature/linenumbering

2015-05-13 Thread Ayache Khettar
Hi Daniel I will try to get a working example deployed into SMX this evening and see if I can reproduce the error. Could you include the source code of your working example so I could have a look? Regards, Ayache On 12 May 2015 at 23:49, Davis, Daniel davi...@si.edu wrote: An update. I got

Re: Warning Messages in Logs when camel application running on multiple nodes

2015-05-13 Thread Claus Ibsen
Hi No its due having multiple nodes compete for the same files on shared file system. You need a clustered aware read lock to fully support this. Camel 2.16 alows to use idempotent read locks in cluster such as a data grid to orchestrate this. On Wed, May 13, 2015 at 10:47 AM, Henryk Konsek

Re: Warning Messages in Logs when camel application running on multiple nodes

2015-05-13 Thread Reji Mathews
Also 'doneFileName' option . Is it applicable for producer endpoints? Am not sure though but I feel its only for consumer endpoints. Docs at http://camel.apache.org/file2.html Regards Reji On Wed, May 13, 2015 at 2:17 PM, Henryk Konsek hekon...@gmail.com wrote: Hi, You should see in the

Spring versions in camel features file for Karaf

2015-05-13 Thread Svend-Ole Nielsen
Hi I have installed a plain vanilla Karaf version 2.4 with Camel 2.15. According to the release notes Camel 2.15 supports Spring version 4+ which also appears to be the version that Karaf is using. According to the feature for example camel-spring the version 4 is excluded. See the snippet

Re: Schematron component: Not supported: http://saxon.sf.net/feature/linenumbering

2015-05-13 Thread Davis, Daniel
I tried with this Java DSL route. My code is showing a dependency on Saxon in ServiceMIx but I gather the camel-schematron component is doing its own binding to Xalan. So it results in the same exception when trying to start the route. http://pastie.org/10187203 (Java and POM) -- Dan Davis

InOut MEP

2015-05-13 Thread akoufoudakis
Dear all! I am sure that this questions has been already asked. Apologies that you have to look at it again. I have a very trivial route, which uses InOut MEP: @Component public class InOutRouter extends RouteBuilder { public void configure() {

Re: InOut MEP

2015-05-13 Thread Anton Hughes
Please take a look at http://camel.apache.org/content-based-router.html I think this will help. On Wed, May 13, 2015 at 9:57 PM, akoufoudakis akoufoudaki...@gmail.com wrote: Dear all! I am sure that this questions has been already asked. Apologies that you have to look at it again. I have

javax.management.InstanceNotFoundException

2015-05-13 Thread dphan
Hi, I'm checking out the JMX feature of Camel to monitor routes. And I got this exception: JBossFuse:karaf@root Exception in thread SpringOsgiExtenderThread-4 org.apache.camel.RuntimeCamelException: javax.management.InstanceNotFoundException:

Re: Schematron component: Not supported: http://saxon.sf.net/feature/linenumbering

2015-05-13 Thread Davis, Daniel
I have included the XML DSL version. I am working up a better Java DSL version. I can provoke the issue in a default ServiceMix 5.4.0 install with only the camel-schematron feature added. I have tried it with the Apache Saxon-He bundle installed too. In the ServiceMix log, the route fails to

Warning Messages in Logs when camel application running on multiple nodes

2015-05-13 Thread ravi.4indra
Hi, I have a route using camel file2 to move a file. its working fine with a single node but with camel running on three different nodes i am seeing below error on 2 nodes and successfully processing in the third server. is there a configuration or option on camel to prevent this

Re: Handle Soap1.1 and Soap1.2 payloads in a single CXF WS Endpoint

2015-05-13 Thread Gnanaguru S
The same question is posted here as well: http://stackoverflow.com/questions/30204063/handle-multiple-soap-versions-in-camel http://stackoverflow.com/questions/30204063/handle-multiple-soap-versions-in-camel -- View this message in context:

Re: Data Corruption in SFTP in Parallel Multicast branches

2015-05-13 Thread Franz Paul Forsthofer
Hello Lakshmi, it could be that this issue is related to https://issues.apache.org/jira/browse/CAMEL-8688 There we have made a patch in the current snapshot (version 2.16) Can you try to reproduce your problem on the current snapshot? Regards Franz On Tue, May 12, 2015 at 11:39 AM,

Re: xmljson - utf-8 fails

2015-05-13 Thread Gnanaguru S
Hello Reji, Interesting, did it try hitting the service with your standalone client with the payload coming out of your processor ? Cheers Guru @tallguru -- View this message in context: http://camel.465427.n5.nabble.com/xmljson-utf-8-fails-tp5767014p5767033.html Sent from the Camel - Users

Re: xmljson - utf-8 fails

2015-05-13 Thread contactreji
Hey Guru The very next step I did was trying a http POST using the linux CURL command. Surprisingly it worked :-) . The very same data which came out of the processor was posted successfully into end system via curl utility. The problem is seen only from the camel flow. Cheers Reji -

Handle white space - JSON to XML using XMLJSON component

2015-05-13 Thread Gnanaguru S
Hi Guys, I recently got impressed with xmljson component, it does pretty good job in transforming JSON to XML and vice versa. I have a JSON payload which has keys with white space, xmljson doesnt accept JSON keys with whitespaces and it throws the exception shown below. This is my JSON

Re: QueueReplyManager - reply received for unknown correlationID

2015-05-13 Thread Willem Jiang
Can you show us the camel route that you have? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On May 11, 2015 at 4:46:02 PM, MS (matija.slivo...@gmail.com) wrote:

how to get the soap body from exchange.

2015-05-13 Thread jainmcs03
Team, In Webservice proxy(MESSAGE format) , want to separate the soap body alone. How to do it? I tried below but its not worked. advise pls. // SOAPMessage soapMessage = (SOAPMessage) exchange.getIn().getBody(List.class).get(0); // System.out.println(Inside

Re: Handle white space - JSON to XML using XMLJSON component

2015-05-13 Thread Reji Mathews
Hi Guru I really wonder if XML element name supports white spaces and if its legal.. If not, it shudn't be for json either. Anything which comes with a space might be interpreted as XML attribute. Think this way! What will a classname look like when it gets converted to equivalent java classes

Re: how to get the soap body from exchange.

2015-05-13 Thread jainmcs03
Team, I tried additional ways below, but getting SOAPMessage as null. // SOAPMessage soapMessage = exchange.getIn().getBody(SOAPMessage.class); // SOAPMessage soapMessage = exchange.getIn().getHeader(CxfConstants.CAMEL_CXF_MESSAGE, SOAPMessage.class); //