Apache Beanstalk Component

2016-01-28 Thread J.R. Smith
The Apache Camel Beanstalk component appears to be broken when a route consumes AND produces to a beanstalk endpoint (with different tubes). It seems as if the headers from the consumption exchange get used when trying to produce to the endpoint (I think). J

Re: Custom sorting using the file component

2016-01-28 Thread David Hoffer
Is it possible to use groovy or xml to configure this or does this have to be java? I'm at production site so using some configuration or script would be preferred. On Jan 27, 2016 11:50 PM, "Claus Ibsen" wrote: > Hi > > Yes implement your own sorter, see the sorter

When CallerRuns is set, a Rejected Execution exception is still thrown

2016-01-28 Thread Naira & Kobo
I have set up thread sync in my route with the following config: with bigpool defined as: I expect the running thread to continue to run if this QTellerProvThread is full, but I have this exception thrown: at

How to setup WSS4j interceptor for cxfbean component?

2016-01-28 Thread Harry Hwu
Hi All, I have a question about configure a cxfbean component ( http://camel.apache.org/cxf-bean-component.html) to use a WSS4j interceptor. For CXF endpoint, there's documented step available but somehow I couldn't find any for cxfbean.(http://camel.apache.org/cxf.html) Any help or insight on

Camel SCR

2016-01-28 Thread Ranx
Having worked with blueprint and CamelBlueprintTestSupport for a couple of years now at different clients I'm trying to find a better alternative. I go into clients who usually have a lot of Java developers so staying in the familiar Java world is something they appreciate. As of 2.16 the SCR is

Re: Camel SCR

2016-01-28 Thread Ranx
I want to follow this up with a quick question and observation. I've noticed quite a bit of difference in the examples created by the archetype for 2.15 and 2.16 with 2.16 being far more stripped down. But both of them use a a deprecated API for part of their testing. That's something of a

Re: java.lang.NullPointerException while using camel beanio component

2016-01-28 Thread Claus Ibsen
What version of Camel do you use? On Thu, Jan 28, 2016 at 6:30 AM, Pallavi G S wrote: > The dataformat is defined as follows: > > > mapping="classpath:beanio-mapping-file-config.xml" > streamName="myStreamName" /> > > > I'm, reading the file with

Re: Camel file component URI dynamic options & Filter query

2016-01-28 Thread fxthomas
thanks, will try that -- View this message in context: http://camel.465427.n5.nabble.com/Camel-file-component-URI-dynamic-options-Filter-query-tp5776861p5776884.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Able to read Swagger schema model from a json file instead of creating a POJO.

2016-01-28 Thread Claus Ibsen
No this is not possible. On Thu, Jan 28, 2016 at 11:27 AM, Erukala Uttam <2311ut...@gmail.com> wrote: > In this route , > > rest(“/sample”).post(“/test”) .description("Health Check route"). > outType(User.class) > > .produces("application/json") > >

Error Handling and Redelivery Policy between routes

2016-01-28 Thread Michele
Hi everyone, error handling and redelivery policy do not work fine when a main route requests enricher from subroute. When an error accours in subroute, the exception is propagated to main route wich handles it by DLQError handler but the delivery attempt remains at 1. It is not incremented until

Re: java.lang.NullPointerException while using camel beanio component

2016-01-28 Thread Pallavi G S
Camel version used in the application is 2.12.1 -- View this message in context: http://camel.465427.n5.nabble.com/java-lang-NullPointerException-while-using-camel-beanio-component-tp5776873p5776894.html Sent from the Camel - Users mailing list archive at Nabble.com.

Able to read Swagger schema model from a json file instead of creating a POJO.

2016-01-28 Thread Erukala Uttam
In this route , rest(“/sample”).post(“/test”) .description("Health Check route"). outType(User.class) .produces("application/json") .param().dataType("string").name("id").type(RestParamType.query ).description("partnerId of the Service").required(true)

Re: Able to read Swagger schema model from a json file instead of creating a POJO.

2016-01-28 Thread Erukala Uttam
Can we Do something about this .. I meant we can read a json file and add that directly to the response model instead of Create a class and annotating it..It well be efficient right.. On Thu, Jan 28, 2016 at 4:02 PM, Claus Ibsen wrote: > No this is not possible. > > On

MQTT route with TLS certificate .crt

2016-01-28 Thread S-camel
Hi I am facing some difficulties trying to connect to a MQTT broker to receive messages via TLS. I cant find any documentation on the camel mqtt component how to use ssl or tls. The route looks like this: from("mqtt:bar?host=tls://iot.eclipse.org:8883=#")

Re: java.lang.NullPointerException while using camel beanio component

2016-01-28 Thread Claus Ibsen
That is a very old version. Try upgrade. Camel 2.12.x is EOL. On Thu, Jan 28, 2016 at 11:18 AM, Pallavi G S wrote: > Camel version used in the application is 2.12.1 > > > > -- > View this message in context: >

camel-salesforce-maven-plugin picklist to enum generation

2016-01-28 Thread kag
Hello all, We are currently looking into using Camel for integrating with our salesforce org. To do this we plan to use the salesforce component and the camel-salesforce-maven-plugin which generates DTO classes based on the metadata fetched from salesforce. We have encountered a problem when

Re: Invoking Dynamic OSGi Blueprint services from a Java RouteBuilder

2016-01-28 Thread Quinn Stevenson
Thank you Ranx - Unfortunately, I haven’t figured out a way to get around using RouteBuilders for my use case. Since I have a few very common patterns for my routes where the only differences are endpoint configurations and a few other minor things, I can create a few common RouteBuilders and

Re: MQTT route with TLS certificate .crt

2016-01-28 Thread S-camel
maven-surefire-plugin false ${basedir}/src/test/resources/name.ts ${basedir}/src/test/resources/name.ks password