Class CamelMessageHandlerSpec
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<S,H>
org.springframework.integration.dsl.MessageHandlerSpec<CamelMessageHandlerSpec,CamelMessageHandler>
org.springframework.integration.camel.dsl.CamelMessageHandlerSpec
- All Implemented Interfaces:
DisposableBean
,FactoryBean<CamelMessageHandler>
,InitializingBean
,Lifecycle
,Phased
,SmartLifecycle
public class CamelMessageHandlerSpec
extends MessageHandlerSpec<CamelMessageHandlerSpec,CamelMessageHandler>
The
MessageHandlerSpec
for CamelMessageHandler
.- Since:
- 6.0
- Author:
- Artem Bilan
-
Field Summary
Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
logger, PARSER, target
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE
-
Constructor Summary
ModifierConstructorDescriptionprotected
CamelMessageHandlerSpec
(org.apache.camel.ProducerTemplate producerTemplate) -
Method Summary
Modifier and TypeMethodDescriptionendpointUri
(String endpointUri) endpointUri
(Function<Message<?>, String> endpointUriFunction) endpointUriExpression
(String endpointUriExpression) endpointUriExpression
(Expression endpointUriExpression) exchangePattern
(Function<Message<?>, org.apache.camel.ExchangePattern> exchangePatternFunction) exchangePattern
(org.apache.camel.ExchangePattern exchangePattern) exchangePatternExpression
(String exchangePatternExpression) exchangePatternExpression
(Expression exchangePatternExpression) exchangeProperties
(Map<String, Object> exchangeProperties) exchangePropertiesExpression
(String exchangePropertiesExpression) exchangePropertiesExpression
(Expression exchangePropertiesExpression) headerMapper
(HeaderMapper<org.apache.camel.Message> headerMapper) inboundHeaderNames
(String... inboundHeaderNames) outboundHeaderNames
(String... outboundHeaderNames) protected CamelMessageHandlerSpec
route
(org.apache.camel.builder.LambdaRouteBuilder route) Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, afterPropertiesSet, destroy, doGet, getId, getObject, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stop
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
Constructor Details
-
CamelMessageHandlerSpec
-
-
Method Details
-
endpointUri
-
endpointUri
-
endpointUriExpression
-
endpointUriExpression
-
route
-
exchangePattern
-
exchangePattern
public CamelMessageHandlerSpec exchangePattern(Function<Message<?>, org.apache.camel.ExchangePattern> exchangePatternFunction) -
exchangePatternExpression
-
exchangePatternExpression
-
inboundHeaderNames
-
outboundHeaderNames
-
headerMapper
-
exchangeProperties
-
exchangePropertiesExpression
-
exchangePropertiesExpression
public CamelMessageHandlerSpec exchangePropertiesExpression(Expression exchangePropertiesExpression)
-