Re: Filtering or 'short circuit' a route

2016-07-16 Thread Mark Frazier
install a headerFilterStrategy or just write your own processor that checks the headers. But… I think that you will get an error anyway from the remote server and camel will pass it along as you need. > On Jul 16, 2016, at 6:45 PM, knew...@gmail.com wrote: > > Hello, > > I am looking for so

Filtering or 'short circuit' a route

2016-07-16 Thread knew...@gmail.com
Hello, I am looking for some suggestions on how I might 'filter' an http route. The general idea is to create a process that checks the http request for a valid oauth access token and if valid, allows the route to continue. If missing or invalid, 'something' would return an http response of 401 or

Re: How to make aggregator wait until all threads are completed

2016-07-16 Thread mailingl...@j-b-s.de
That's the funny thing about splitting and parallel: The last message with the split end marker is usually never the last message processed. We tried resequencing (via split index) without success, because you have to keep all messages in memory to guarantee sequencing works properly, otherwise

Re: Conflicting c3p0 versions

2016-07-16 Thread Claus Ibsen
Hi Yeah we should exclude that old c3p0, it was a mistake in the git commit that forgot doing this: d1c7f65079ef94fd27a735d9c02e38920975dfa6 On Fri, Jul 8, 2016 at 3:31 PM, habdank wrote: > Dears, > > I am not sure what is really right, but my maven build complains that c3p0 > classes are overl

Re: Camel 2.16.3: camel-jetty9 sendServerVersion=false doesn't work

2016-07-16 Thread Claus Ibsen
You say using CXF JAXRS. Is that camel-cxf or plain JAX-RS with CXF then you may need to look at those to turn off that option, or in karaf in general. On Wed, Jul 13, 2016 at 5:48 AM, Allan C. wrote: > Hi Claus, > > I did a bit of tweaking here and there and unfortunately can't get it to > w

Re: Camel XSLT/Saxon not thread safe?

2016-07-16 Thread Claus Ibsen
Try enabling stream caching, or convert the payload to String after the CXF call. On Wed, Jul 13, 2016 at 3:06 PM, El Bennitto wrote: > In our route we receive a response from a web service and then split the > response using XPATH. In each split route we transform the XML before > posting it of

Re: R: Re: camel-sql IN query number of parameters mismatch

2016-07-16 Thread juliaaano
Thanks, Claus. I was about to start on doing that now. I you haven't gone too far, I still volunteer to work on it. Cheers. -- View this message in context: http://camel.465427.n5.nabble.com/camel-sql-IN-query-number-of-parameters-mismatch-tp5785054p5785175.html Sent from the Camel - Users mail

Re: R: Re: camel-sql IN query number of parameters mismatch

2016-07-16 Thread Claus Ibsen
Hi I logged a ticket and are working on a fix https://issues.apache.org/jira/browse/CAMEL-10151 On Fri, Jul 15, 2016 at 5:45 PM, Claus Ibsen wrote: > Hi > > Yeah that is a bug in the parser when you have dynamic body and IN > together. You are welcome to log a JIRA and submit a PR with an unit >