camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "valerian.merkling" <>
Subject One processor for multiple camelContext
Date Tue, 02 Apr 2013 13:24:05 GMT
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" />
But how i can make this works :

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

Thanks for your help !

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

View raw message