Hi !

In my project there is a lot of communication by mail with attached zipped
xml files.

So i made two processor to zip the file, or unzip from a mail. 

My problem is that i have three differents bundles (three jar, three
camelContext), all of them using those two processors.

How can i make these processors available for everyone ?

I read a few doc about camel registry, but i don't get it.

When i write 

/<bean id="beantest" name="beantest" class="test.TestRegisterProcessor"/>/

Does it call the registry ? 

This (obviously) works :

File1 :
/<bean id="beantest" name="beantest" class="test.TestRegisterProcessor"/>
<camelContext id="first-context" />
  <route id="route1>
  <from .../>
  <to uri="beantest" />
  </route>
</camelContext>
/
But how i can make this works :

File2 :
/<camelContext id="second-context" />
  <route id="route2>
  <from .../>
  <to uri="beantest" />
  </route>
</camelContext>/


Thanks for your help !



--
View this message in context: 
http://camel.465427.n5.nabble.com/One-processor-for-multiple-camelContext-tp5730213.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to