Class CamelContextUtilityBean

java.lang.Object
com.skava.marketplace.orchestration.configuration.CamelContextUtilityBean

@Configuration public class CamelContextUtilityBean extends Object
The Class CamelContextUtilityBean.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    loadXmlRests(org.apache.camel.CamelContext camelContext, String directory)
    This method is used to load XML rests from the xml resources which are available under the specified directory.
    void
    loadXmlRoutes(org.apache.camel.CamelContext camelContext, String directory)
    This method is used to load XML routes from the xml resources which are available under the specified directory.
    void
    updateRestDefinitions(org.apache.camel.CamelContext camelContext)
    updateRestDefinitions.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CamelContextUtilityBean

      public CamelContextUtilityBean()
  • Method Details

    • loadXmlRoutes

      public void loadXmlRoutes(org.apache.camel.CamelContext camelContext, String directory) throws Exception
      This method is used to load XML routes from the xml resources which are available under the specified directory.
      Parameters:
      camelContext - Indicates a CamelContext
      directory - Indicates a directory of the xml files.
      Throws:
      Exception - Throws exceptions produced by failed or interrupted operations.
    • loadXmlRests

      public void loadXmlRests(org.apache.camel.CamelContext camelContext, String directory) throws Exception
      This method is used to load XML rests from the xml resources which are available under the specified directory.
      Parameters:
      camelContext - Indicates a CamelContext
      directory - Indicates a directory of the xml files.
      Throws:
      Exception - Throws exceptions produced by failed or interrupted operations.
    • updateRestDefinitions

      public void updateRestDefinitions(org.apache.camel.CamelContext camelContext)
      updateRestDefinitions.
      Parameters:
      camelContext - camelContext