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

2016-05-23 Thread Claus Ibsen
Yes you can add / remove routes. For removing routes remember to stop them first. On Tue, May 24, 2016 at 1:45 AM, Matt Sicker wrote: > This could be handy for OSGi environments, but the javadocs aren't explicit > about what you can modify after you execute CamelContext::start(). > > -- > Matt

cxf setting Nonce and created in SOAP wsse header

2016-05-23 Thread akmishra30
I wanted to inject Nonce and Created element in WSSE security header using CXF. http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"; xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";> ==Username=

Re: .choice(), .when() not working as expected in the camel route

2016-05-23 Thread sekaijin
I understood that camel-mllp acquire the message. But my purpose is not there. I do not know camel-mllp what I mean is that usually when a component fails to perform its task, it throws an exception. I do not know once that puts an error message in the body. I therefore think you should use an err

move alternate files to different folder

2016-05-23 Thread pp
I am trying to move large amount of files into two different folders. I want to move them alternately for now. From what I understand with camel router, I can use dynamic routing to do this. Is this correct? Any inputs are greatly appreciated. Thanks -- View this message in context: http://c

Deadlock in Failover Loadbalancer

2016-05-23 Thread Lee
Calling the route below with multiple threads simultaneously, when the messages timeout, I get a deadlock. Is there a workaround to this issue? Or have I mis-configured the failover? Thread dump: -- View this message in context: http://camel.465427.n5.nabble.com/Deadlock-in-Failover-Loadb

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: https://github.com/apache/camel/blob/maste

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

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: http://camel.465427.n5.nabble.co

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 integ

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

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 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 wondering

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 .con

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: http://camel.465427.n5.nabble.com/Routing-with-logic-tp578

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:

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) newReque

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 > different