Re: Exception when suspending splitter

2016-08-29 Thread saw
The route is suspended from another thread by calling Our use case is such that we need this functionality. The file needs to be parsed at a controlled rate and processed only at certain times. So every once in a while parsing needs to be paused and resumed later. -- View this message in con

Re: ERROR No message body reader has been found for class, ContentType: application/json' in CXF JAXRS - 2.17.3

2016-08-29 Thread imranrazakhan
HI, Yes it has @XmlRootElement annotation. Regards, -- View this message in context: http://camel.465427.n5.nabble.com/ERROR-No-message-body-reader-has-been-found-for-class-ContentType-application-json-in-CXF-JAXRS-2-173-tp5786940p5786968.html Sent from the Camel - Users mailing list archive

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

2016-08-29 Thread Allan C.
Hi Claus, The parameter sendServerVersion for camel-jetty component works. Only that when deployed on Karaf somehow the configuration is not detected. I also just got to know that the HTTP Server header is a standard for any HTTP service, so I think I'll just leave it at that. Regards, Allan C.

Re: http 415 error in cxf rest service

2016-08-29 Thread Ranx
I assume you have a JSONProvider configured? That usually causes the error you are seeing. Does your Book class have an @XmlRootElement at its top? If you're using JAXB that is required even for JSON. Brad -- View this message in context: http://camel.465427.n5.nabble.com/http-415-error-i

Re: Exception when suspending splitter

2016-08-29 Thread Ranx
You may want to put this in instead of the static log message. This will show you what you are actually getting out of your splitter. .log("${body") How are you trying to suspend/stop the route? I'm not positive and would have to test it but you've specified streaming and that's going to have f

Exception when suspending splitter

2016-08-29 Thread saw
I have the following very simple test route: I'm am attempting to suspend this route while it's splitting a file. The route attempts to suspend but after the graceful shutdown runs out the rest of lines are still processed and a RejectedExecutionException exception is thrown for each line. What

Re: Can't make camel-example-spring-security works

2016-08-29 Thread olivier
Hi, Thanks for having handled this. 2016-08-26 22:14 GMT+02:00 Claus Ibsen-2 [via Camel] < ml-node+s465427n5786774...@n5.nabble.com>: > Hi > > I just fixed the example so we wont forget to do it > https://github.com/apache/camel/commit/ba6fc872e40b48344330b7bc469892 > e63eb739cc > > > On Fri, Au

Re: ERROR No message body reader has been found for class, ContentType: application/json' in CXF JAXRS - 2.17.3

2016-08-29 Thread Brad Johnson
Does your subscriptionNotification object have the XmlRootElement annotation? While that might seem strange it is required for the JSON marshal/unmarshal. By the way, why are you lower casing your class names? Brad On Mon, Aug 29, 2016 at 12:19 AM, imranrazakhan wrote: > HI, > > I have develop

Re: camel-cdi projects as fat jar

2016-08-29 Thread Brad Johnson
Can you post an example of the RouteBuilder that's creating the problem? On Mon, Aug 29, 2016 at 3:17 AM, Antonin Stefanutti wrote: > Hi, > > What version of Weld are you using? Until recently nested / fat JAR wasn’t > working with Weld until it’s been fixed in Weld 2.3.4 with WELD-1930 [1]. I >

Re: camel-cdi projects as fat jar

2016-08-29 Thread Antonin Stefanutti
Hi, What version of Weld are you using? Until recently nested / fat JAR wasn’t working with Weld until it’s been fixed in Weld 2.3.4 with WELD-1930 [1]. I haven’t tried it myself so that should enable fat JAR support, produced for example with onejar-maven-plugin. An alternative may be to use s