2 Replies Latest reply on Apr 21, 2009 4:03 PM by roger

    Access to Spring beans through the CamelContext?

    roger

      Hi all,

       

      Short question: Is there any way to access the -declared beans as "ordinary" Spring beans through the CamelContext?

       

      The situation is that I have a couple of bean declarations in my camel-context.xml, and want to use them for instance in a Processor class or similar.

       

      As an alternative, much less appealing, I could declare a separate Spring ApplicationContext using a separate context XML file, but that would be much more cumbersome.

       

      Regards,

      Roger