3 Replies Latest reply on Mar 8, 2011 4:03 AM by Claus Ibsen

    Mixing DSL with Spring in Camel

    Shilpi Yadav Novice

      Looking specifically at the camel-osgi example, there's a mix of DSL and Spring based Camel routing.  Is there some sort of example where if I set up some beans within the Spring file, I can pass that to the DSL java so it can have a hook for a bean?

       

      i.e.

       

         

          <property name="prefix" value="$"/>

        </bean

       

       

      in my DSL..

       

      configure() {

        MyTransform t = //get the above bean

      }

       

      Thanks!