public abstract class ItfAbstractRouteBuilder
extends org.apache.camel.builder.RouteBuilder
| Constructor and Description |
|---|
ItfAbstractRouteBuilder() |
| Modifier and Type | Method and Description |
|---|---|
abstract Map<String,Object> |
getAdditionalProperties(org.apache.camel.Exchange exchange) |
abstract List<String> |
getExcludeHeadersList() |
static void |
logExtendedInfo(UUID projectUuid,
String sessionId,
String brokerMessageSelectorValue,
String transportClassName,
long length)
Log message info (including size, if it's above threshold).
|
org.qubership.automation.itf.core.model.jpa.message.Message |
prepareIncomingMessage(org.apache.camel.Exchange exchange,
String transportClassName,
org.qubership.automation.itf.core.model.transport.ConnectionProperties transportConfig,
org.qubership.automation.itf.core.util.descriptor.StorableDescriptor triggerConfig,
String sessionId)
Prepare Itf message from Camel incoming message according its body type.
|
void |
startSession(org.apache.camel.Exchange exchange,
String transportClassName,
org.qubership.automation.itf.core.model.transport.ConnectionProperties transportConfig,
org.qubership.automation.itf.core.util.descriptor.StorableDescriptor triggerConfig,
String sessionId)
Create and fill Message (String body and headers) from Camel message received.
|
void |
startSession(org.apache.camel.Exchange exchange,
String transportClassName,
org.qubership.automation.itf.core.model.transport.ConnectionProperties transportConfig,
org.qubership.automation.itf.core.util.descriptor.StorableDescriptor triggerConfig,
String sessionId,
org.qubership.automation.itf.core.model.jpa.message.Message message)
Start session of interaction between stubs and executor via ActiveMq queues.
|
addRoutes, addRoutesToCamelContext, checkInitialized, configure, configureRest, configureRests, configureRoute, configureRoutes, createContainer, errorHandler, from, from, from, from, fromF, getContext, getRestCollection, getRestConfigurations, getRouteCollection, includeRoutes, intercept, interceptFrom, interceptFrom, interceptSendToEndpoint, onCompletion, onException, onException, populateRests, populateRoutes, populateTransformers, populateValidators, propertyInject, rest, rest, restConfiguration, restConfiguration, setErrorHandlerBuilder, setRestCollection, setRouteCollection, toString, transformer, validatorbean, bean, bean, bean, body, body, bodyAs, constant, createErrorHandlerBuilder, deadLetterChannel, deadLetterChannel, defaultErrorHandler, endpoint, endpoint, endpoints, endpoints, exceptionMessage, exchangeProperty, faultBody, faultBodyAs, getErrorHandlerBuilder, header, language, loggingErrorHandler, loggingErrorHandler, loggingErrorHandler, loggingErrorHandler, method, method, method, method, noErrorHandler, outBody, outBody, property, regexReplaceAll, regexReplaceAll, sendTo, setContext, setContext, simple, simple, simpleF, simpleF, systemProperty, systemProperty, xpath, xpathpublic void startSession(@Nonnull org.apache.camel.Exchange exchange, @Nonnull String transportClassName, @Nonnull org.qubership.automation.itf.core.model.transport.ConnectionProperties transportConfig, @Nonnull org.qubership.automation.itf.core.util.descriptor.StorableDescriptor triggerConfig, @Nonnull String sessionId) throws Exception
Exceptionpublic void startSession(@Nonnull org.apache.camel.Exchange exchange, @Nonnull String transportClassName, @Nonnull org.qubership.automation.itf.core.model.transport.ConnectionProperties transportConfig, @Nonnull org.qubership.automation.itf.core.util.descriptor.StorableDescriptor triggerConfig, @Nonnull String sessionId, @Nonnull org.qubership.automation.itf.core.model.jpa.message.Message message) throws Exception
exchange - - Camel exchange,transportClassName - - transport class name,transportConfig - - transport configuration,triggerConfig - - trigger configuration,sessionId - - session id for logging purposes,message - - incoming message,Exception - in case exceptions while sending message to executor queue.public org.qubership.automation.itf.core.model.jpa.message.Message prepareIncomingMessage(@Nonnull org.apache.camel.Exchange exchange, @Nonnull String transportClassName, @Nonnull org.qubership.automation.itf.core.model.transport.ConnectionProperties transportConfig, @Nonnull org.qubership.automation.itf.core.util.descriptor.StorableDescriptor triggerConfig, @Nonnull String sessionId) throws Exception
exchange - - Camel exchange,transportClassName - - transport class name,transportConfig - - transport configuration,triggerConfig - - trigger configuration,sessionId - - session id for logging purposes,Exception - in case message body processing exceptions.public static void logExtendedInfo(UUID projectUuid, String sessionId, String brokerMessageSelectorValue, String transportClassName, long length)
projectUuid - - project Uuid,sessionId - - session id for logging purposes,brokerMessageSelectorValue - - message selector value for broker,transportClassName - - transport class name,length - - length of incoming message body.public abstract Map<String,Object> getAdditionalProperties(org.apache.camel.Exchange exchange)
Copyright © 2025. All rights reserved.