1 of 1 people found this helpful
Do you have a specific challenge/question w/r/t routing from bean services to Camel services? From a switchyard.xml standpoint, you would just have two components : one for a bean service implementation and another for the camel implementation. The bean service would have a reference defined which wired to the camel service. Inside your bean service, use the following to make the reference available to your implementation:
private SomeCamelService camelService;
Check out the Consuming a Service section in the bean service docs for more info:
No, I'm looking for a example, My use case is this. I have a bean that gets invoked from an service reference. The bean does some up front processing, then needs to send a message to be routed on. As part of the routing, it might get sent to another bean. I guess what I don't know how to do is how to put my own objects onto the message context so that i can transfer information from my bean to the camel route. Typically a camel route just has a configure() method on it(dsl route).
So, for the below image, before the ProxyService camel route in the middle, I have a bean component in there.