Class CamelContextUtilityBean
java.lang.Object
com.skava.marketplace.orchestration.configuration.CamelContextUtilityBean
The Class CamelContextUtilityBean.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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.
-
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 aCamelContext
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 aCamelContext
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
-