-
1. Re: Consuming Services from Java Camel Implementation
kcbabo Mar 10, 2015 8:07 PM (in response to mfernandezmartinez)Tough to say without seeing your project, but the yellow warning icon on your Camel service component is something to investigate. If you hover over it you should get details on the warning or just check the Problems view in Eclipse. Reference injection is meant for classes managed through SY, which means there's a component definition and a reference definition in switchyard.xml. Any reason why you are calling the service from a processor instead of calling it via a switchyard:// endpoint in the Camel route?
-
2. Re: Consuming Services from Java Camel Implementation
mfernandezmartinez Mar 13, 2015 5:15 AM (in response to kcbabo)Thank you Keith.
I was trying to do the call in a processor due to the fact that the request for the Monitoring reference was completely different from the original one.
Anyway, ReferenceInvoker succesfully worked with a normal Bean declared in the switchyard.xml as you said.