Willem, My error in the last post. Your assitance with the {{xxx}} naming was correct. The variable is being set correctly and can be accessed bia this naming.
I thought is was not working because what I am seeing that with "autoStartup=false" the endpoint still initializes, just the incoming data is not sent to the rest of the route. So, I guess this brings me to a second question. Is there a way to not initialize the endpoint via configuration. The reason that I need is for the following. I have an endpoint (QuickFIXj) that should not be connecting in certain circumstances For example, testing and dev instances should not attemtp to connect to a FIX server via this endpoint. However, prod instances need to have this enabled. I would imagine that this scenario exixst for many connection based services/endpoints. Is there a way to configure the camelContext with what essentially would work like old school compiler derectives: something along the lines of: <camelContext> <route> .... </route> #ifdef PROD <route> .... </route> #endif </camelContext> Again, I know this code above is not valid, just an example of what I would need it to work like. As if it was not even there when not in prod. Thanks. -- View this message in context: http://camel.465427.n5.nabble.com/Enable-disable-routes-at-startup-using-Spring-tp5732852p5732911.html Sent from the Camel - Users mailing list archive at Nabble.com.