Class CamelConfigurationExternalEvent
java.lang.Object
com.skava.marketplace.custom.event.CamelConfigurationExternalEvent
- All Implemented Interfaces:
org.apache.camel.spring.boot.CamelContextConfiguration
@Configuration
@Qualifier("camelConfigurationExternalEvent")
public class CamelConfigurationExternalEvent
extends Object
implements org.apache.camel.spring.boot.CamelContextConfiguration
CamelConfigurationExternalEvent - This class is used for configuring routes and creating beans at the time
of application booting.
- Author:
- Equinox Team
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
afterApplicationStart
(org.apache.camel.CamelContext camelContext) afterApplicationStartvoid
beforeApplicationStart
(org.apache.camel.CamelContext camelContext) beforeApplicationStartGet routeName mapstatic void
setRouteName
(Map<String, String> newRouteName) Set routeName map
-
Constructor Details
-
CamelConfigurationExternalEvent
public CamelConfigurationExternalEvent()
-
-
Method Details
-
beforeApplicationStart
public void beforeApplicationStart(org.apache.camel.CamelContext camelContext) beforeApplicationStart- Specified by:
beforeApplicationStart
in interfaceorg.apache.camel.spring.boot.CamelContextConfiguration
- Parameters:
camelContext
-
-
afterApplicationStart
public void afterApplicationStart(org.apache.camel.CamelContext camelContext) afterApplicationStart- Specified by:
afterApplicationStart
in interfaceorg.apache.camel.spring.boot.CamelContextConfiguration
- Parameters:
camelContext
-
-
getRouteName
Get routeName map- Returns:
- unmodifiable map of routeName
-
setRouteName
Set routeName map- Parameters:
newRouteName
-
-