<route> <from uri="activemq:SomeQueue"/> <pipeline> <bean ref="foo"/> <bean ref="bar"/> <to uri="activemq:OutputQueue"/> </pipeline> </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" <willem.ji...@gmail.com> 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: >> >> http://camel.apache.org/maven/current/camel-core/apidocs/ >> (check the o.a.c.model and o.a.c.processor packages for definitions and >> implementations of EIPs) >> >> http://camel.apache.org/contributing.html (useful stuff, including where to >> find the camel source code) >> http://svn.apache.org/repos/asf/camel/trunk >> >> 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): >> http://svn.apache.org/repos/asf/camel/trunk/examples/camel-example-docs/src/main/java/org/apache/camel/example/docs/PipelineRoute.java >> >> 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("seda:pipeline.in").to("seda:pipeline.out1", "seda:pipeline.out2", >> "seda:pipeline.out3"); >> from("seda:pipeline.in").pipeline("seda:pipeline.out1", >> "seda:pipeline.out2", "seda:pipeline.out3"); >> from("seda:pipeline.in").pipeline().to("seda:pipeline.out1").to("seda:pipeline.out2").to("seda:pipeline.out3"); >> from("seda:pipeline.in").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 >>> http://camel.apache.org/pipes-and-filters.html >>> where is the src? >>> >>> >>> and the org.apache.camel.example.docs.PipelineRoute has no config >>> where is the config file? >>> >>> >>> camel 2.7.1 >> >> > > >-- >Willem >---------------------------------- >FuseSource >Web: http://www.fusesource.com >Blog: http://willemjiang.blogspot.com (English) > http://jnn.javaeye.com (Chinese) >Twitter: willemjiang >Weibo: willemjiang