If you are using OSGi you can leverage OSGi Service Listeners to programmatically add the interceptors whenever a new context appears in the environment.
*Raúl Kripalani* Apache Camel PMC Member & Committer | Enterprise Architect, Open Source Integration specialist http://about.me/raulkripalani | http://www.linkedin.com/in/raulkripalani http://blog.raulkr.net | twitter: @raulvk On Thu, Sep 10, 2015 at 11:57 AM, fabrizio.spataro < fabrizio.spat...@bizmate.it> wrote: > Hello, > > i would use same interceptor (XML Spring implementation) into my different > projects. > > Can i reference an interceptor like "routeContextRef" tag or > "restContextRef" tag? > > > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Interceptor-into-external-file-tp5771400.html > Sent from the Camel - Users mailing list archive at Nabble.com. >