One component per CamelContext. Hadrian
On Mar 15, 2011, at 12:08 PM, tnk wrote: > Hi, > > i am new to camel (i use it in serviceMix), so the question might sound > strange. How many instances of component class are created? > For example, i use camel-cache component in several different bundles, > injected with > @EndpointInject(uri = "cache://cacheName?properties....") //uri is different > in bundles > ProducerTemplate cacheTemplate; > > Is the CacheComponent instance created for each (different) uri? One > CacheComponent instance per bundle? 1 instance in each CamelContext? Or only > one instance in whole application (in my case in serviceMix)? > > Thanks. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/camel-components-tp3708933p3708933.html > Sent from the Camel - Users mailing list archive at Nabble.com.
