I'm new to camel and we're developing a service to expose a SOAP interface and consume a REST api.
My question is about the design of the solution. Our service exposes 10 methods, so i have to create 1 route for each and also set headers of the request to the restapi. I'm trying to think about a way to create routes with a configure method cleaner. I googled some patterns, but i didn't find any that suits with camel. I think that something like a factory could be useful.
Is there any standard and optimized way to create routes with cleaner code? I don't know if i'm being clear.
Thanks in advance!