Interface DeclarationsRegistryApi
- All Known Implementing Classes:
DeclarationsRegistry
API interface for
DeclarationsRegistry used within the framework structure.-
Method Summary
Modifier and TypeMethodDescriptiongetCompositeProcessConsumerDefinitions(String compositeProcessID) Returns consumers of the composite process as defined in the annotationCompositeProcessgetCompositeProcessConsumersForScenario(IntegrationScenarioDefinition integrationScenario) Returns all the processes that are consumers from a scenario.getCompositeProcessProviderDefinition(String compositeProcessID) Returns provider of the composite process as defined in the annotationCompositeProcessgetCompositeProcessProvidersForScenario(IntegrationScenarioDefinition integrationScenario) Returns all the processes that are providers for a scenario.getConnectorById(String connectorId) GetConnectorDefinitionby its id.getConsumersForScenario(IntegrationScenarioDefinition integrationScenario) Returns all the consumers for a scenario, they can be eitherCompositeProcessDefinitionorOutboundConnectorDefinitionGet list of allInboundConnectorDefinition.getInboundConnectorsByScenarioId(String scenarioId) Get list ofInboundConnectorDefinitionby id ofIntegrationScenarioDefinition.getIntegrationScenarioBase(String compositeProcessID) Get list of allOutboundConnectorDefinition.getOutboundConnectorsByScenarioId(String scenarioId) Get list ofOutboundConnectorDefinitionby id ofIntegrationScenarioDefinition.getProvidersForScenario(IntegrationScenarioDefinition integrationScenario) Returns all the providers for a scenario, they can be eitherCompositeProcessDefinitionorInboundConnectorDefinitiongetScenarioById(String scenarioId) GetIntegrationScenarioDefinitionby its id.voidregisterClassForOnException(org.apache.camel.model.OnExceptionDefinition key, String className) Registers the class with givenclassNamefor onException handling
-
Method Details
-
getScenarioById
GetIntegrationScenarioDefinitionby its id.- Parameters:
scenarioId- is its id- Returns:
- Integration scenario
-
getConnectorById
GetConnectorDefinitionby its id.- Parameters:
connectorId- is its id- Returns:
- Optional connector
-
getInboundConnectors
List<InboundConnectorDefinition> getInboundConnectors()Get list of allInboundConnectorDefinition.- Returns:
- all inbound connectors
-
getOutboundConnectors
List<OutboundConnectorDefinition> getOutboundConnectors()Get list of allOutboundConnectorDefinition.- Returns:
- all outbound connectors
-
getInboundConnectorsByScenarioId
Get list ofInboundConnectorDefinitionby id ofIntegrationScenarioDefinition.- Parameters:
scenarioId- is its id- Returns:
- inbound connectors
-
getOutboundConnectorsByScenarioId
Get list ofOutboundConnectorDefinitionby id ofIntegrationScenarioDefinition.- Parameters:
scenarioId- is its id- Returns:
- outbound connectors
-
getCompositeProcessConsumerDefinitions
List<IntegrationScenarioDefinition> getCompositeProcessConsumerDefinitions(String compositeProcessID) Returns consumers of the composite process as defined in the annotationCompositeProcess- Parameters:
compositeProcessID- id of the process- Returns:
- List of
IntegrationScenarioDefinition
-
getCompositeProcessProviderDefinition
Returns provider of the composite process as defined in the annotationCompositeProcess- Parameters:
compositeProcessID- id of the process- Returns:
IntegrationScenarioDefinition
-
getIntegrationScenarioBase
-
getCompositeProcessProvidersForScenario
List<CompositeProcessDefinition> getCompositeProcessProvidersForScenario(IntegrationScenarioDefinition integrationScenario) Returns all the processes that are providers for a scenario.- Parameters:
integrationScenario- that the processes provide to- Returns:
- List of
CompositeProcessDefinition
-
getCompositeProcessConsumersForScenario
List<CompositeProcessDefinition> getCompositeProcessConsumersForScenario(IntegrationScenarioDefinition integrationScenario) Returns all the processes that are consumers from a scenario.- Parameters:
integrationScenario- that the processes consumes from- Returns:
- List of
CompositeProcessDefinition
-
getProvidersForScenario
List<IntegrationScenarioProviderDefinition> getProvidersForScenario(IntegrationScenarioDefinition integrationScenario) Returns all the providers for a scenario, they can be eitherCompositeProcessDefinitionorInboundConnectorDefinition- Parameters:
integrationScenario- that are being provided to- Returns:
- List of
IntegrationScenarioProviderDefinition
-
getConsumersForScenario
List<IntegrationScenarioConsumerDefinition> getConsumersForScenario(IntegrationScenarioDefinition integrationScenario) Returns all the consumers for a scenario, they can be eitherCompositeProcessDefinitionorOutboundConnectorDefinition- Parameters:
integrationScenario- that are being consumed from- Returns:
- List of
IntegrationScenarioProviderDefinition
-
registerClassForOnException
void registerClassForOnException(org.apache.camel.model.OnExceptionDefinition key, String className) Registers the class with givenclassNamefor onException handling- Parameters:
key- Exception definition keyclassName- Class to register
-