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
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
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
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(
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
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
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
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
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.
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
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.
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
= 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
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.
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 /
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
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
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
, 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
:
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.
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.
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.
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.
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
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
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
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
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
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.
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).
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.
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.465427.n5.nabble.com/Camel-multicast-configuration-file-tp5723427.html
Sent from the Camel - Users mailing list archive at Nabble.com.
=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
34 matches
Mail list logo