interceptSendToEndpoint

2014-07-01 Thread Preethi
Hi, We have a RouteBuilder which does multiple interceptSendToEndpoint. Something like this @Override public final void configure() throws Exception { interceptSendToEndpoint("http4://test1.com/123456") .process(new SecurityProcessor1());

Choice DSL when checking for existence of a header

2014-07-01 Thread Matt Raible
I'm trying to do the following with a the Java DSL in a route: .choice() .when(header("maxRows").isNotNull()) .recipientList(simple("sql:{{sql.claimLookupWithMaxRows}}")).delimiter("false") .otherwise() .recipientList(simple("sql:{{sql.claimLookup}

Re: doTry problem

2014-07-01 Thread Christian Müller
Can you try 2.13.1? Best, Christian Am 01.07.2014 21:25 schrieb "angryzes" : > Hello, > > I am facing a strange problem when I am trying to execute doTry doCatch > blocks on exception like this: > > onException(Exception.class) > .doTry() > .to(ROUTE_ID) >

Re: How to create a central route controller

2014-07-01 Thread Claus Ibsen
Hi Maybe check the control bus eip and component On Tue, Jul 1, 2014 at 8:30 AM, dermoritz wrote: > in my java based camel app i want create a central class that controls all > routes (starting, stopping) but i don't want any route be aware of this > class. routes should keep untouched on any ch

doTry problem

2014-07-01 Thread angryzes
Hello, I am facing a strange problem when I am trying to execute doTry doCatch blocks on exception like this: onException(Exception.class) .doTry() .to(ROUTE_ID) .doCatch(Exception.class) .convertBodyTo(String.class)

doTry throws NoClassDefFoundError FinallyProcessor$1

2014-07-01 Thread angryzes
Hello, I am facing a strange problem when I am trying to execute doTry doCatch blocks on exception like this: onException(Exception.class) .doTry() .to(ROUTE_ID) .doCatch(Exception.class) .convertBodyTo(String.class)

Re: File component does not delete file

2014-07-01 Thread Gardella juan
Yes, I discover that, but is it possible to update the document? this is not explicit mentioned. -- View this message in context: http://camel.465427.n5.nabble.com/File-component-does-not-delete-file-tp5753140p5753165.html Sent from the Camel - Users mailing list archive at Nabble.com.

Getting entire Soap Message with header and body in Payload mode

2014-07-01 Thread ychawla
Hello All, We use payload mode to process our CXF messages. It is very convenient and will properly process the Soap Headers, SAML assertions, WS-Security headers etc. I have a requirements to get the entire raw Soap message in my camel route and call a processor with it. There are other ways to

Re: What version of CDI is supported?

2014-07-01 Thread Charles Moulliard
Until now Camel CDI has been created based on CDI 1.0 spec. If you run your camel project with a more recent version of CDI spec 1.1, that will fails ( https://issues.apache.org/jira/browse/CAMEL-6513) On Tue, Jul 1, 2014 at 5:51 PM, Anton-2 wrote: > Hi > > I am trying to get Camel working with

Re: What version of CDI is supported?

2014-07-01 Thread Claus Ibsen
Hi Whatever Apache Deltaspike supports as that is what we use for camel-cdi. On Tue, Jul 1, 2014 at 5:51 PM, Anton-2 wrote: > Hi > > I am trying to get Camel working with CDI, am am having some success, > however, I have run into the following error: > > [ERROR] Caused by: java.lang.Incompatible

What version of CDI is supported?

2014-07-01 Thread Anton-2
Hi I am trying to get Camel working with CDI, am am having some success, however, I have run into the following error: [ERROR] Caused by: java.lang.IncompatibleClassChangeError: Class org.apache.camel.cdi.internal.CamelContextBean does not implement the requested interface javax.enterprise.inject

Im trying to write "Frank was here" into my websphere MQ from camel with Topic and Subscribtions.

2014-07-01 Thread Frankiboy
Im trying to write "Frank was here" into my websphere MQ from camel with Topic and Subscribtions. The MQ is defined as Topic: HUB_TOP01 With 3 subscribtions "HUB_SUB01" and "HUB_SUB01" and "HUB_SUB03" here im trying to write to HUB_SUB01 This bean fails with a exception bean(LogMq.class, "logSta

HTTP request log

2014-07-01 Thread René Vangsgaard
Hello Is it possible to enable an HTTP request log for the server-side HTTP component (Jetty)? Thank you, René

Re: Synchronisation and Aggregator

2014-07-01 Thread Sven Bauhan
On 06/27/14 22:46, Sven Bauhan wrote: Hi, I want to use a Synchronisation in a route with an Aggregator. So I implemented the onCompletion() method of the Synchronisation to send a response that the message was received correctly. My problem is that the onCompletion() method is called for each

Re: How to Add Double quote at the beginning of the column using Camel Bindy

2014-07-01 Thread Claus Ibsen
What version of Camel do you use? And have you tried a newer release. On Tue, Jul 1, 2014 at 1:55 PM, Jaishankar wrote: > I'm creating csv file using Camel Bindy. > In bindy model I have used @CsvRecord( separator = "\",\"" > ,generateHeaderColumns=true), if I use this the output file is > EMPLOY

Re: File component does not delete file

2014-07-01 Thread Claus Ibsen
delete=true only deletes the file if the exchange was processed succesfully. If some exception is thrown it will rollback, and leave the file untouched. Or if you use moveFailed the file is moved to another directory. If you want to delete the file also if an exception happen then use the Camel er

Re: File component does not delete file

2014-07-01 Thread Gardella juan
Using moveFailed does not solve the problem, "delete" does not delete the file when some exception happens during the execution, why? -- View this message in context: http://camel.465427.n5.nabble.com/File-component-does-not-delete-file-tp5753140p5753142.html Sent from the Camel - Users mailing

How to Add Double quote at the beginning of the column using Camel Bindy

2014-07-01 Thread Jaishankar
I'm creating csv file using Camel Bindy. In bindy model I have used @CsvRecord( separator = "\",\"" ,generateHeaderColumns=true), if I use this the output file is EMPLOYEE ID","SURNAME","FIRST NAME","SECOND NAME but I need output as "EMPLOYEE ID","SURNAME","FIRST NAME","SECOND NAME" The problem i

File component does not delete file

2014-07-01 Thread Gardella juan
Hello all, I am working with camel 2.13.1 and I had problems with delete option, where it says at File component :/delete: If true, the file will be deleted after it is processed/I figured out that this statement is not true when some error happens. I found th

Logging for jSCH and File-component

2014-07-01 Thread deepak_a
Hi, Can i know how to enable logging for jSCH & FileComponent. I am using sFTP component from Camel and interested in seeing debug/trace level logs for jSCH and File Component. I can see that I am able to log in to sFTP server successfully. After logging in when I attempt to PUT a file - I see