-
1. Re: Camel
kcbabo Jan 4, 2012 12:38 PM (in response to cvasilak)Hey Christos,
Camel can be used in two ways in SwitchYard:
- As a routing service
- As a gateway binding provider
In your case it looks like you want to do both, i.e. create a routing service using Camel and then expose that service using a Camel JMS gateway binding. One requirement for routing services in SwitchYard is that the "from" endpoint should always point to a logical endpoint name. Check out this for an example:
After that, you want to add a Camel gateway binding to the application configuration (switchyard.xml). An example of what that looks like can be found here:
Not sure if you have tried the Forge tooling support for SwitchYard, but you should be able to create the route and add the binding with Forge in about 30 sec. Let me know if you run into a problem and I'll post an example.
cheers,
keith
-
2. Re: Camel
cvasilak Jan 5, 2012 4:43 PM (in response to kcbabo)Hello Keith,
thanks a lot for your response. After carefully examining the examples you post it and together with Forge, I did manage to work it out! and works beautifully!
I am still learning about switchyard but I think I am in a good path and have a starting point to work
Thanks again
Regards,
Christos