I'm sure it could be kept generic if every endpoint was able to accept it's
own Configuration object (ie FileEndpoint accepts FileEndpointConfig and
FtpEndpoint accepts FtpEndpointConfig).

1. By using headers, am I correct to assume that these headers are passed to
every endpoint (not just the file endpoint)?
2. Lets assume I add a JMS endpoint to the route. Am I correct that all
headers will be added to the JMS message? If so, I will be exposing my
internal implementation details to external systems.

--
View this message in context: 
http://camel.465427.n5.nabble.com/Passing-parameters-as-headers-feels-a-bit-hacky-tp5678320p5679834.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to