Thanks for your response Charles. 

I am using connectionFactories in the actual code, this is just an example
to illustrate the problem. 

But the point is if I have the same setup in spring XML I do not get this
problem. Only one connection is created. 

What is so different between having a RouteBuilder and routes declared in
camel context in XML?

--
View this message in context: 
http://camel.465427.n5.nabble.com/Question-Why-are-2-connections-created-tp5715235p5715264.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to