Re: How to interrupt camel multicast for subset of enpoints/subroute

2022-10-24 Thread ski n
Hi Jitesh, You can separate the polling of the two FTP into two separate routes: //normal route from("ftp://[username@]hostname[:port]/output;) //code for normal output .to("direct:process_extracted_file"); //error route from("ftp://[username@]hostname[:port]/error;) //code for error output

How to interrupt camel multicast for subset of enpoints/subroute

2022-10-24 Thread Jitesh Adsul
Hello folks !!! I have requirement to poll two ftp folders say "output" and "error" for file. Actual file could come in either of two folders(not both). I tried multicast (even used completionSize of 1) but process keeps waiting as camel waits for both output and error endpoint routes to

RE: Camel Multicast sync vs async

2020-07-09 Thread Shultz, Dmitry
Multicast sync vs async Hello Community I have a camel multicast as follows from("jetty:https://urldefense.com/v3/__http://0.0.0.0:8081/sort?httpMethodRestrict=PUT__;!!LdWlNaMnLCM!NUvcuGYoOSX9AodBe4MkLfZPuLSR1Qs_ERdbnjXkyoyuOudlHqJ4YWT1NyWFCEAMQ3XY$ ") .convertBodyTo(St

Camel Multicast sync vs async

2020-07-09 Thread Reji Mathews
Hello Community I have a camel multicast as follows from("jetty:http://0.0.0.0:8081/sort?httpMethodRestrict=PUT;) .convertBodyTo(String.class) .multicast(new ListAggregator()).parallelProcessing().to("direct:A","seda:B","direct:C").end(

Re: Camel Multicast behaving strangely - please help

2016-12-12 Thread Nikhil Vibhav
Hey Nishat, I see that you've added the 'new DeepCloneRequest()' in a process() statement rather than a 'onPrepare()'. Can you check the onPrepare section (the last section) for the Camel multicast documentation - http://camel.apache.org/multicast.html Thanks, Nikhil. On Tue, 13 Dec 2016 at 02

Re: Camel Multicast behaving strangely - please help

2016-12-12 Thread nishat
more help form you. also noticed that multicast send the same request object to both routes instead of copy of initial request. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Multicast-behaving-strangely-please-help-tp5791319p5791378.html Sent from the Camel - Users

Re: Camel Multicast behaving strangely - please help

2016-12-12 Thread Nikhil Vibhav
at 14:00 nishat <nishat.dhil...@gmail.com> wrote: > Hello Hans, > > I tried your suggestion but got the same issue. any other idea? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-Multicast-behaving-strangely-please-help-t

RE: Camel Multicast behaving strangely - please help

2016-12-12 Thread nishat
Thanks for the response. but the problem is that my endpoint are coming from a ArraylistList for multicast. But i will try you suggestion by hard coding it. will let you know in a while. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Multicast-behaving-strangely

RE: Camel Multicast behaving strangely - please help

2016-12-12 Thread nishat
Hello Hans, I tried your suggestion but got the same issue. any other idea? -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Multicast-behaving-strangely-please-help-tp5791319p5791327.html Sent from the Camel - Users mailing list archive at Nabble.com.

RE: Camel Multicast behaving strangely - please help

2016-12-09 Thread Hans Orbaan
Can you try: multicast(.) .to("direct://route1") .to("direct://route2") -Oorspronkelijk bericht- Van: nishat [mailto:nishat.dhil...@gmail.com] Verzonden: Friday 9 December 2016 15:36 Aan: users@camel.apache.org Onderwerp: Camel Multicast behaving strangely - pl

Re: Camel Multicast behaving strangely - please help

2016-12-09 Thread nishat
the camel version i am using is 2.17.3 -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Multicast-behaving-strangely-please-help-tp5791319p5791320.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel Multicast behaving strangely - please help

2016-12-09 Thread nishat
Hello All i am getting as strange behavior from camel multicast. Looks like i am doing something wrong but cant point it. Need your help urgently. I a creating a multicast route to two endpoints as below: Start point : direct://start endpoint : direct://route1 endpoint : direct://route2

Camel Multicast - copying email to two Inbox folders

2015-10-15 Thread Vasanthi
= new MailMessage(); newMessage.setBody(in.getBody()); newMessage.setAttachments(in.getAttachments()); newMessage.setHeaders(in.getHeaders()); exchange.setIn(newMessage); } } Please could you help me to find what I am doing wrong? Is using multicast the correct w

Camel multicast() with aggregationStrategy() ...

2015-08-10 Thread SteveR
appreciated!!! Thanks, Steve -- View this message in context: http://camel.465427.n5.nabble.com/Camel-multicast-with-aggregationStrategy-tp5770505.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel multicast and exception

2015-03-09 Thread Desu, Kishore Kumar
Hi, Below route is giving exception with stackTrace and I want to restrict it to provide only a message instead of stackTrace. Please me to fix it. --- route id=GetEvent from uri=restlet:///event/{eventId}?restletMethod=PUT /

Re: Camel multicast and exception

2015-03-09 Thread Claus Ibsen
Hi You can turn this off on the error handler. It has many options to turn this on | off. You set LogStackTrace = false http://camel.apache.org/redeliverypolicy.html On Mon, Mar 9, 2015 at 10:18 AM, Desu, Kishore Kumar kishorekumar.d...@mckesson.com wrote: Hi, Below route is giving exception

Re: Apache Camel - Multicast - Is there a 'null' or a similar endpoint ?

2013-10-03 Thread kraythe .
response. Is it correct? That being the case, I am not using the `to` at all. Am I using the `to` to just to satisfy the compiler. I don't, in fact, need to log the output. -- View this message in context: http://camel.465427.n5.nabble.com/Apache-Camel-Multicast-Is-there-a-null-or-a-similar

Re: Apache Camel - Multicast - Is there a 'null' or a similar endpoint ?

2013-10-03 Thread arunodhaya80
response. Is it correct? That being the case, I am not using the `to` at all. Am I using the `to` to just to satisfy the compiler. I don't, in fact, need to log the output. -- View this message in context: http://camel.465427.n5.nabble.com/Apache-Camel-Multicast

Re: Apache Camel - Multicast - Is there a 'null' or a similar endpoint ?

2013-10-02 Thread Claus Ibsen
, the stupidity kicks in) -- View this message in context: http://camel.465427.n5.nabble.com/Apache-Camel-Multicast-Is-there-a-null-or-a-similar-endpoint-tp5740664.html Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen - Red Hat, Inc. Email

Re: Apache Camel - Multicast - Is there a 'null' or a similar endpoint ?

2013-10-02 Thread arunodhaya80
: http://camel.465427.n5.nabble.com/Apache-Camel-Multicast-Is-there-a-null-or-a-similar-endpoint-tp5740664p5740780.html Sent from the Camel - Users mailing list archive at Nabble.com.

Apache Camel - Multicast - Is there a 'null' or a similar endpoint ?

2013-10-01 Thread arunodhaya80
to something else - like a null or something? (Ah, the stupidity kicks in) -- View this message in context: http://camel.465427.n5.nabble.com/Apache-Camel-Multicast-Is-there-a-null-or-a-similar-endpoint-tp5740664.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Apache Camel - Multicast - Is there a 'null' or a similar endpoint ?

2013-10-01 Thread Christian Müller
in) -- View this message in context: http://camel.465427.n5.nabble.com/Apache-Camel-Multicast-Is-there-a-null-or-a-similar-endpoint-tp5740664.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Apache Camel - Multicast - Is there a 'null' or a similar endpoint ?

2013-10-01 Thread kraythe .
this message in context: http://camel.465427.n5.nabble.com/Apache-Camel-Multicast-Is-there-a-null-or-a-similar-endpoint-tp5740664.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel multicast and exception

2013-09-26 Thread Erwin Etchart
Based on this example of a camel route aggregate id=ag.2 strategyRef=second.aggregator.strategy aggregationRepositoryRef=aggregator.container.2 completionSize=2 completionTimeout=36 correlationExpression

Re: Camel multicast and exception

2013-09-26 Thread Christian Posta
Take a look at try-catch block. Or try adding exception handlers to each individual direct route? On Thu, Sep 26, 2013 at 8:55 AM, Erwin Etchart erwin.etch...@gmail.comwrote: Based on this example of a camel route aggregate id=ag.2 strategyRef=second.aggregator.strategy

Re: Camel multicast and exception

2013-09-26 Thread Erwin Etchart
Thanks for your response Christian, Do you know if i try with try catch how can i do to define a redelivery police of this specific direct component? Regards Erwin 2013/9/26 Christian Posta christian.po...@gmail.com Take a look at try-catch block. Or try adding exception handlers to

Re: Camel multicast and exception

2013-09-26 Thread Christian Posta
You can specify an error handler for the specific route which is where you specify redelivery semantics: http://camel.apache.org/error-handler.html On Thu, Sep 26, 2013 at 9:33 AM, Erwin Etchart erwin.etch...@gmail.comwrote: Thanks for your response Christian, Do you know if i try with try

Re: Camel multicast and exception

2013-09-26 Thread Erwin Etchart
Thanks , i will try that. Regards Erwin 2013/9/26 Christian Posta christian.po...@gmail.com You can specify an error handler for the specific route which is where you specify redelivery semantics: http://camel.apache.org/error-handler.html On Thu, Sep 26, 2013 at 9:33 AM, Erwin Etchart

camel multicast

2013-05-16 Thread Nibs
headeroutbox/header /routingSlip /route - /camelContext /beans Thank you -- View this message in context: http://camel.465427.n5.nabble.com/camel-multicast-tp5732682.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel multicast

2013-05-16 Thread Willem jiang
you -- View this message in context: http://camel.465427.n5.nabble.com/camel-multicast-tp5732682.html Sent from the Camel - Users mailing list archive at Nabble.com (http://Nabble.com).

Re: camel multicast

2013-05-16 Thread Nibs
yes I did that but nothing work -- View this message in context: http://camel.465427.n5.nabble.com/camel-multicast-tp5732682p5732698.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel multicast configuration file

2012-11-30 Thread Henryk Konsek
Hi Bala, I am trying to configure camel multicasting in my project. The requirement is to hit multiple services in parallel and consume the response. As Claus suggested you forgot to aggregate the requests. And here's how can you aggregate responses from multiple services:

Camel multicast configuration file

2012-11-29 Thread Bala
://camel.465427.n5.nabble.com/Camel-multicast-configuration-file-tp5723427.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel multicast configuration file

2012-11-29 Thread Claus Ibsen
=jack/ bean ref=signOnResponseHandler / /route Thanks, Bala -- View this message in context: http://camel.465427.n5.nabble.com/Camel-multicast-configuration-file-tp5723427.html Sent from the Camel - Users mailing list archive at Nabble.com