Help w/ rest response JSON binding with Jackson

2016-05-23 Thread Patrick696
Hi, I am having a heck of a time figuring out how to return raw json from my camel rest routes. If I do something like: .marshal(format) .convertBodyTo(String.class) I always get something like: "{\"status\":200,\"error\":success,\"data\":...}" If I don't add

are camel routes non blocking

2016-05-23 Thread kumar5
Hi I am using spring rest and calling camel routes (rest client camel route or camel kafka producer ). is camel non- blocking . if not, are we have future plan to add non blocking in camel routes. how camel producer or consumer works. Please help me to understand this. -- View this message

camel-jdbc fetchSize out of memory error

2016-05-23 Thread patelp7
I am trying to ingest data from postgres to another DB and I am using camel-jdbc component to do it. I have a large table so I want to read few rows at a time instead of the whole table altogether. so my route looks like below (only for testing purpose) from(fromUri).setBody("select * from limit

Camel netty detect client disconnect

2016-05-23 Thread souciance
Hello, Is there any way for the camel netty 4 component to detect when a client channel has disconnected? I need to clear out some data specific to clients when they disconnect. I know if I write my own handler than I can access the netty methods to listen for disconnect events but was

RE: Routing with logic

2016-05-23 Thread Steve Huston
I am not a Camel expert, but one way to approach this would be to have a process that reads from your external APIs and put the resulting messages into a queue (for example, using AMQP). Then your camel route can read messages 'from' the queue. If your external APIs have a camel component

Re: Strange issue with JDBC add Postgres

2016-05-23 Thread patelp7
Hi Tim, Can you possible provide me a snippet of what your route actually looks like with the workaround? I ran into same problem where my fetchsize is not working and I want to have a work around while still using camel. Thanks -- View this message in context:

Can you add a RouteDefinition to a CamelContext while it's running?

2016-05-23 Thread Matt Sicker
This could be handy for OSGi environments, but the javadocs aren't explicit about what you can modify after you execute CamelContext::start(). -- Matt Sicker

Routing question

2016-05-23 Thread miri eyni
hi , i need to implements routing with logic. i will get the request , processing the request should read from different APIs (external API) to make a new request for the endpoint. for example : process (){ S1 = consume API1 s2 = consume API2 s3= consume API3 newRequest.setS1(s1)

Routing with logic

2016-05-23 Thread miri eyni
hi i need to implement routing with processing. processing the request should read from different APIs (external API ) for create a new request to the endpoint. how is the best way to implements it? -- View this message in context:

Re: SpringBoot application and connect to Websphere MQ Activation Specification using Camel

2016-05-23 Thread arunkabraham
I am able to get it working with below code using Queue/Topic connection factory. But I need it to be working with Activation specification(JNDI). Can you please help on this? -- View this message in context:

Re: Routing question

2016-05-23 Thread souciance
Have you tried it yourself first? Where have you failed? On Mon, May 23, 2016 at 12:49 PM, miri eyni [via Camel] < ml-node+s465427n5782945...@n5.nabble.com> wrote: > hi , > > > i need to implements routing with logic. > i will get the request , processing the request should read from >

Encrypted Blueprint property-placeholders doesn't (shouldn't?) work inside Camel Context

2016-05-23 Thread sohrab
This item was raised with the Red Hat guys where we were told that using doesn't decrypt the messages inside Camel Context (works only in Blueprint beans): https://issues.jboss.org/browse/ENTESB-5482 So I am a little confuse when I look at this sample: