SQL Stored Procedure Component(2.17.0) Parsing Error

2016-05-01 Thread imranrazakhan
HI, I tried to use new available procedure in Apache Camel 2.17.0 for calling stored procedure and getting following error Code: from("file://D:/?fileName=test1.txt&noop=true") .split( body().tokenize("\n") ).streaming() .process(new LineParser())

Re: Camel Design Patterns ebook

2016-05-01 Thread Bilgin Ibryam
Hi all, thanks for all the nice comments and feedback so far. It's great to read those. Denitely would love to list some of these patterns on the new Camel website. As for the second edition, I've already started using Camel with Docker and Kubernetes for a number of projects. These new tools ma

Re: SQL Stored Procedure Component(2.17.0) Parsing Error

2016-05-01 Thread Claus Ibsen
You cannot use ${body[1]} currently. We may need to add [ ] chars to the grammar On Sun, May 1, 2016 at 4:11 PM, imranrazakhan wrote: > HI, > > I tried to use new available procedure in Apache Camel 2.17.0 for calling > stored procedure and getting following error > > Code: > > from("file://D:/?

Re: SQL Stored Procedure Component(2.17.0) Parsing Error

2016-05-01 Thread Claus Ibsen
Hi I logged a ticket and am fixing this https://issues.apache.org/jira/browse/CAMEL-9932 On Sun, May 1, 2016 at 5:23 PM, Claus Ibsen wrote: > You cannot use ${body[1]} currently. > > We may need to add [ ] chars to the grammar > > On Sun, May 1, 2016 at 4:11 PM, imranrazakhan wrote: >> HI, >> >

jsonpath behaviour on arrays misleading?

2016-05-01 Thread catshout
Dear community, I've follwing input in my message body: { "APPLICATION": "Filiale", "ADAPTER": "SAPEIB", "QUEUE": "SIB.data.out.queue", "PROJECT_ID": "225", "PROJECT_NAME": "RETFIL010", "COMMUNICATION"

setHeader with dynamic headerName?

2016-05-01 Thread catshout
Dear community, is it possible to set the headerName dynamically in the manner ... Thanks for any reply. Best - Gerald -- View this message in context: http://camel.465427.n5.nabble.com/setHeader-with-dynamic-headerName-tp5782041.html Sent from the Camel - Users mailing list archive at Nab

one request-reply route vs route per wsdl

2016-05-01 Thread arno noordover
I would like you advice on an issue I have with a consultant claiming to know everything about ESB's. Up until now we were used to building routes per wsdl. This consultant thinks it is better to provide a generic request-reply channel that uses some kind of CBR or something else to find the endpoi

Re: setHeader with dynamic headerName?

2016-05-01 Thread Claus Ibsen
Yes from 2.17 onwards. See release notes for Camel 2.17. http://camel.apache.org/camel-2170-release.html On Sun, May 1, 2016 at 9:24 PM, catshout wrote: > Dear community, > > is it possible to set the headerName dynamically in the manner > > > ... > > Thanks for any reply. > > Best > - Gerald >

Re: jsonpath behaviour on arrays misleading?

2016-05-01 Thread Claus Ibsen
Camel uses the json path library. Maybe you can ask them about your json payload and if what you attempt is possible. https://github.com/jayway/JsonPath On Sun, May 1, 2016 at 7:42 PM, catshout wrote: > Dear community, > > I've follwing input in my message body: > > { > "APPLICATI

Re: Setting the ID of a processor node without using .id()

2016-05-01 Thread Claus Ibsen
Hi No there is only the id. But we could consider some kind of @Description attribute or something. But this would only be possible for Processor / Bean and not all the EIPs etc. So it has somewhat limited value. On Sun, May 1, 2016 at 3:07 AM, stumpart wrote: > Hi All, > > I am trying to s

Re: camel-schematron feature in servixemix 6.1.1: “Failed to compile stylesheet”.

2016-05-01 Thread Claus Ibsen
On Fri, Apr 29, 2016 at 11:22 PM, didiosky wrote: > Hi, > > I’m testing schematron endpoints in a fresh servicemix 6.1.1 (on windows) > and it fails with a “Failed to compile stylesheet” error. The > camel-schematron and camel-saxon features are installed, but I get this > error anytime that I dep

Re: Camel SoapFault marshalling classcast exception

2016-05-01 Thread Claus Ibsen
What version of Camel do you use? And how do you run Camel? In some app server or what? And do you have camel-saxon / saxon JARs on the classpath? On Fri, Apr 29, 2016 at 5:25 PM, Mac wrote: > Hi, > > I am using the camel-soap project, and working on some exception handling. > > I have a SoapFau