Hi ,
I want the response of one camel route inside the other camel route.
Like for example I have two camel routes route1 and route2 with entry point camelEntryServicePoint1 and camelEntryServicePoint2 resp. Now I want the reponse of route2 to be used inside route1 or to access route2 inside route1.
route1
<route>
<from uri="camelEntryServicePoint1" />
<to uri="bean:studentClient?method=findStudents"/> -->
<process ref="findStudentsRespProcessor"/>
</route>
route2
<route >
<from uri="camelEntryServicePoint2" />
<to uri="bean:schoolClient?method=findSchools"/> -->
<process ref="findStudentsRespProcessor"/>
</route>
Any suggestion?
I want the response of one camel route inside the other camel route.
Like for example I have two camel routes route1 and route2 with entry point camelEntryServicePoint1 and camelEntryServicePoint2 resp. Now I want the reponse of route2 to be used inside route1 or to access route2 inside route1.
route1
<route>
<from uri="camelEntryServicePoint1" />
<to uri="bean:studentClient?method=findStudents"/> -->
<process ref="findStudentsRespProcessor"/>
</route>
route2
<route >
<from uri="camelEntryServicePoint2" />
<to uri="bean:schoolClient?method=findSchools"/> -->
<process ref="findStudentsRespProcessor"/>
</route>
Any suggestion?