camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ltomuno <>
Subject Re:Re: Is there a pipeline example with src in camel?
Date Thu, 02 Jun 2011 04:19:54 GMT
  <from uri="activemq:SomeQueue"/>
    <bean ref="foo"/>
    <bean ref="bar"/>
    <to uri="activemq:OutputQueue"/>
</route>I wan't to know the foo class detail, extends what class or implements what
interfacethank you 

At 2011-06-02 11:10:21,"Willem Jiang" <> wrote:

>Just one more comments,
>Even you don't use the piple dsl to chain the endpoint together.
>Camel is always using the Pipeline processor to under earth :)
>On 6/2/11 10:44 AM, Hadrian Zbarcea wrote:
>> The source for what? Here are a few useful links:
>> (check the o.a.c.model and o.a.c.processor packages for definitions and implementations
of EIPs)
>> (useful stuff, including where to find
the camel source code)
>> The configuration of the route is defined by the Camel DSL (with many flavors: java,
xml, scala, groovy...) using RouteBuilder(s). In the example you mentioned you can find it
here in the configure() method (which uses the java dsl):
>> What may be confusing is that pipeline() is actually implicit in Camel because it's
so common. FWIW there are implicit apis, one is pipeline, the other one is end() which does
not need to be specified at the end of a block pattern if it coincides with the end of the
route (but I digress). So in that particular example, the following are equivalent (using
the java dls):
>> from("").to("seda:pipeline.out1", "seda:pipeline.out2", "seda:pipeline.out3");
>> from("").pipeline("seda:pipeline.out1", "seda:pipeline.out2", "seda:pipeline.out3");
>> from("").pipeline().to("seda:pipeline.out1").to("seda:pipeline.out2").to("seda:pipeline.out3");
>> from("").pipeline().to("seda:pipeline.out1").to("seda:pipeline.out2").to("seda:pipeline.out3").end();
>> I hope this helps,
>> Hadrian
>> On Jun 1, 2011, at 9:11 PM, ltomuno wrote:
>>> the official website
>>> where is the src?
>>> and the has no config
>>> where is the config file?
>>> camel 2.7.1
>Blog: (English)
> (Chinese)
>Twitter: willemjiang
>Weibo: willemjiang
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message