camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edwin <>
Subject Custom Camel Component instantiated twice
Date Mon, 11 Jun 2012 16:51:55 GMT
Hi Folks

I am referencing the same camel endpoint from 2 different routes.

customcomponent:custom-uri is being referenced from the 2 routes below

I notice that the corresponding camel component(customcomponent) is
instantiated twice - hence endpoint instantiated twice also.

I would have expected it only to be instantiated once, i.e. component,
endpoint, consumer and producer shared between the 2 different routes.

Could you please confirm whether this behaviour is as expected


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message