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 annotationCompositeProcess
getCompositeProcessConsumersForScenario
(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 annotationCompositeProcess
getCompositeProcessProvidersForScenario
(IntegrationScenarioDefinition integrationScenario) Returns all the processes that are providers for a scenario.getConnectorById
(String connectorId) GetConnectorDefinition
by its id.getConsumersForScenario
(IntegrationScenarioDefinition integrationScenario) Returns all the consumers for a scenario, they can be eitherCompositeProcessDefinition
orOutboundConnectorDefinition
Get list of allInboundConnectorDefinition
.getInboundConnectorsByScenarioId
(String scenarioId) Get list ofInboundConnectorDefinition
by id ofIntegrationScenarioDefinition
.getIntegrationScenarioBase
(String compositeProcessID) Get list of allOutboundConnectorDefinition
.getOutboundConnectorsByScenarioId
(String scenarioId) Get list ofOutboundConnectorDefinition
by id ofIntegrationScenarioDefinition
.getProvidersForScenario
(IntegrationScenarioDefinition integrationScenario) Returns all the providers for a scenario, they can be eitherCompositeProcessDefinition
orInboundConnectorDefinition
getScenarioById
(String scenarioId) GetIntegrationScenarioDefinition
by its id.void
registerClassForOnException
(org.apache.camel.model.OnExceptionDefinition key, String className) Registers the class with givenclassName
for onException handling
-
Method Details
-
getScenarioById
GetIntegrationScenarioDefinition
by its id.- Parameters:
scenarioId
- is its id- Returns:
- Integration scenario
-
getConnectorById
GetConnectorDefinition
by 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 ofInboundConnectorDefinition
by id ofIntegrationScenarioDefinition
.- Parameters:
scenarioId
- is its id- Returns:
- inbound connectors
-
getOutboundConnectorsByScenarioId
Get list ofOutboundConnectorDefinition
by 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 eitherCompositeProcessDefinition
orInboundConnectorDefinition
- 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 eitherCompositeProcessDefinition
orOutboundConnectorDefinition
- 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 givenclassName
for onException handling- Parameters:
key
- Exception definition keyclassName
- Class to register
-