Re: Activemq dynamic endpoint configuration

2011-10-03 Thread Claus Ibsen
On Tue, Oct 4, 2011 at 1:29 AM, kal2420 wrote: > Claus, > >    What is the proper way to shutdown the route? I am doing the following > from RouteBuilder: > >     getContext().stopRoute(routeID); > >  But when I do that, I all the routes being shutdown. is this correct ?  I > see it invoking  "o

Re: Activemq dynamic endpoint configuration

2011-10-03 Thread kal2420
Claus, What is the proper way to shutdown the route? I am doing the following from RouteBuilder: getContext().stopRoute(routeID); But when I do that, I all the routes being shutdown. is this correct ? I see it invoking "org.apache.camel.impl.DefaultShutdownStrategy$ShutdownTasK "

Re: CAMEL project in a web application

2011-10-03 Thread boday
same as your other post... to run a Camel app in "dev" mode, just use the http://camel.apache.org/camel-maven-plugin.html camel maven plugin . Otherwise, you can package your app as a http://camel.apache.org/tutorial-on-using-camel-in-a-web-application.html WAR and run it with either http://do

Re: testing CAMEL example in DEV environment

2011-10-03 Thread boday
to run a Camel app in "dev" mode, just use the http://camel.apache.org/camel-maven-plugin.html camel maven plugin . Otherwise, you can package your app as a http://camel.apache.org/tutorial-on-using-camel-in-a-web-application.html WAR and run it with either http://docs.codehaus.org/display/JET

testing CAMEL example in DEV environment

2011-10-03 Thread newbiee
I want to try a CAMEL example in my Test environment: Following is the example: (please refer to the attachment) I put this code in "serviceMix\apache-servicemix-4.3.0\apache-servicemix-4.3.0\deploy". I was able to see that this route has been created and an ID had been given to it. When I run i

CAMEL project in a web application

2011-10-03 Thread newbiee
I want to try a CAMEL example in my Test environment: Following is the example: Content based router ${header.CamelFileName} regex '^.*xml$' ${header.CamelFileName} re

Re: 'mvn eclipse:clean eclipse:eclipse' not being happy with ${jetty-version}

2011-10-03 Thread Daniel Kulp
On Monday, October 03, 2011 6:09:55 AM bvahdat wrote: > Hi, > > One more try in the hope that I get some echo if I'm wrong or if I'm the > only one having this "jetty-version" issue by "Camel build POM". > > I would really appreciate all kinds of advices. Can you try now? I just moved the plug

Re: CXF component with WS-Addressing and one way messages

2011-10-03 Thread anton_nazarov
Hi All, It seems that that post is closest one to the subject I want to ask. I use WS-addressing with Camel-CXF component. I send a request to a web- service (configured as http://camel.465427.n5.nabble.com/CXF-component-with-WS-Addressing-and-one-way-messages-tp4370106p4865074.html Sent from the

Re: 'mvn eclipse:clean eclipse:eclipse' not being happy with ${jetty-version}

2011-10-03 Thread bvahdat
Hi, One more try in the hope that I get some echo if I'm wrong or if I'm the only one having this "jetty-version" issue by "Camel build POM". I would really appreciate all kinds of advices. Regards, Babak -- View this message in context: http://camel.465427.n5.nabble.com/mvn-eclipse-clean-ecli

Re: The SFTP component: the keyboard-interactive auth method support

2011-10-03 Thread Ujeen
Hi The file has been replaced with the new one with no compression fix inside. It now contains only the small keyboard-interactive method fix. So the license is not an issue anymore. -- View this message in context: http://camel.465427.n5.nabble.com/The-SFTP-component-the-keyboard-interactive-a

Re: Exception not getting caught and multiple consumers getting the same message

2011-10-03 Thread Aaron Doyle
Hello,   That did not seem to help fix my problem.  If I change my route to the following, the exception is caught and sent to the loadable failure queue.             

Re: doTry, doCatch and recipientList

2011-10-03 Thread Claus Ibsen
Hi You are using an old release. In a later release there is .endTry() which takes you back to the try .. catch scope. Using onException on a route is the preferred way. Alternative use direct inside the try .. catch. And add a 2nd route from direct, and disable error handler on the 2nd route.

Re: Copy File - catch non existing file

2011-10-03 Thread Nserra
I'll try your approach and then give feedback. Tks for the ticket -- View this message in context: http://camel.465427.n5.nabble.com/Copy-File-catch-non-existing-file-tp4853329p4864210.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: doTry, doCatch and recipientList

2011-10-03 Thread Pham Ngoc Hai
I tried that, stil the same. --- On Mon, 10/3/11, Claus Ibsen wrote: > From: Claus Ibsen > Subject: Re: doTry, doCatch and recipientList > To: users@camel.apache.org > Date: Monday, October 3, 2011, 2:37 PM > On Sun, Oct 2, 2011 at 6:10 PM, Pham > Ngoc Hai > wrote: > > I'm using Camel 2.2.0-f

Re: Netty: 1 Request with 2 Responses?

2011-10-03 Thread Claus Ibsen
On Thu, Sep 29, 2011 at 2:42 AM, maccamlc wrote: > I have an interesting case, where one message type that a Netty Client send > will expect 2 response (1 immediately, and another asynchronously after some > processing has been done). > > Is this possible to implement in Camel? I need the same Soc

Re: Exception not getting caught and multiple consumers getting the same message

2011-10-03 Thread Claus Ibsen
Hi You need to add true to your to indicate you are handling this exception. On Sun, Oct 2, 2011 at 2:57 PM, Aaron Doyle wrote: > Sorry bout that, hopefully this is better. > > > Message body > > http://www.springframework.org/schema/beans; > xmlns:xsi=http://www.w3.org/2001/XMLSchema-instanc

Re: The SFTP component: the keyboard-interactive auth method support

2011-10-03 Thread Claus Ibsen
Hi Do you mind attaching a new patch without the compression, to the existing ticket? Then we can afterwards work on a new ticket about the compression, as we need to introduce an option to configure this. As well have consensus on the licenses issue. On Sat, Oct 1, 2011 at 8:14 PM, Ujeen wrot

Re: Copy File - catch non existing file

2011-10-03 Thread Claus Ibsen
Hi I have created a ticket https://issues.apache.org/jira/browse/CAMEL-4508 On Sun, Oct 2, 2011 at 9:18 AM, Claus Ibsen wrote: > On Thu, Sep 29, 2011 at 4:31 PM, Nserra wrote: >> Hello >> >> I have a route that copy each hour a file and process it, but, at some part >> of the day the file won't

Re: doTry, doCatch and recipientList

2011-10-03 Thread Claus Ibsen
On Sun, Oct 2, 2011 at 6:10 PM, Pham Ngoc Hai wrote: > I'm using Camel 2.2.0-fuse-02-00 in Fure SMX. > What I want is to catch any exception when sending to the recipientList, > something like: > > from("...") > .doTry() > .recipientList(header(..)) > .doCatch(Exception.class) > .to(..) > .end()