Yes, route a to call route b. I don't think it can be using the direct component. I need the from of route b to use the jpa component.
<route id ="A"> <from uri="quickfix:config" /> <!-- On login, create MD Request --> <filter> <simple>${header.EventCategory} == 'SessionLogon'</simple> </filter> </route> <route id="B"> <from uri="jpa://{{app.jpa.cdx.entity}}?consumeDelete=false&consumer.query={{a pp.sql.included.cds}}" /> <bean ref="SecDefinitionFactory" method="create"/> <bean ref="MarketDataRequestFactory" method="create"/> <to uri="quickfix:config?....." /> </route> Geoffrey A Gershaw Credit eTrading Development +1 919 994 6412 (*102 6412) -----Original Message----- From: Bilgin Ibryam [mailto:bibr...@gmail.com] Sent: Monday, January 14, 2013 11:17 AM To: users@camel.apache.org Subject: Re: Route Dependency in XML DSL Hi Geoffrey, what do you mean by "route is finished" ? Do you want to call route B at the end of rotue A? Bilgin On 14 January 2013 14:58, Gershaw, Geoffrey <geoffrey.gers...@credit-suisse.com> wrote: > Geoffrey =============================================================================== Please access the attached hyperlink for an important electronic communications disclaimer: http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html ===============================================================================