0 Replies Latest reply on Sep 10, 2015 4:48 PM by Raghu Jakkula

    Accessing namespaces declared on Spring CamelContext in Java DSL

    Raghu Jakkula Newbie




      Is it possible to access the namespaces that have been declared on Camel context in Spring Xml via Java DSL?


      For example I have the following namespaces in my camelcontext.


      <camelContext id="camelContext" trace=" xmlns="http://camel.apache.org/schema/spring" xmlns:xyz="http:/xyz.abc" >


      How do I access the xyz namespace in one of the beans declared in the Camel route? Basically I want to access the namespaces in Java beans so that I don't have to duplicate the code there again?