Class JmsMessageDrivenChannelAdapterSpec<S extends JmsMessageDrivenChannelAdapterSpec<S>>
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<S,JmsMessageDrivenEndpoint>
 
org.springframework.integration.dsl.MessageProducerSpec<S,JmsMessageDrivenEndpoint>
 
org.springframework.integration.jms.dsl.JmsMessageDrivenChannelAdapterSpec<S>
- Type Parameters:
- S- the target- JmsMessageDrivenChannelAdapterSpecimplementation type.
- All Implemented Interfaces:
- DisposableBean,- FactoryBean<JmsMessageDrivenEndpoint>,- InitializingBean,- Lifecycle,- Phased,- SmartLifecycle
- Direct Known Subclasses:
- JmsMessageDrivenChannelAdapterSpec.JmsMessageDrivenChannelAdapterListenerContainerSpec
public class JmsMessageDrivenChannelAdapterSpec<S extends JmsMessageDrivenChannelAdapterSpec<S>>
extends MessageProducerSpec<S,JmsMessageDrivenEndpoint> 
- Since:
- 5.0
- Author:
- Artem Bilan, Gary Russell
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classJmsMessageDrivenChannelAdapterSpec.JmsMessageDrivenChannelAdapterListenerContainerSpec<S extends JmsListenerContainerSpec<S,C>, C extends AbstractMessageListenerContainer> 
- 
Field SummaryFields inherited from class org.springframework.integration.dsl.IntegrationComponentSpeclogger, PARSER, targetFields inherited from interface org.springframework.beans.factory.FactoryBeanOBJECT_TYPE_ATTRIBUTEFields inherited from interface org.springframework.context.SmartLifecycleDEFAULT_PHASE
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedJmsMessageDrivenChannelAdapterSpec(AbstractMessageListenerContainer listenerContainer) 
- 
Method SummaryModifier and TypeMethodDescriptionextractPayload(boolean extractRequestPayload) headerMapper(JmsHeaderMapper headerMapper) jmsMessageConverter(MessageConverter messageConverter) recoveryCallback(org.springframework.retry.RecoveryCallback<Message<?>> recoveryCallback) Set aRecoveryCallbackwhen using retry within the adapter.retryTemplate(org.springframework.retry.support.RetryTemplate retryTemplate) Set aRetryTemplateto use for retrying a message delivery within the adapter.shutdownContainerOnStop(boolean shutdown) Set to 'false' to prevent listener container shutdown when the endpoint is stopped.Methods inherited from class org.springframework.integration.dsl.MessageProducerSpecautoStartup, errorChannel, errorChannel, errorMessageStrategy, id, observationConvention, outputChannel, outputChannel, phase, role, sendTimeout, shouldTrackMethods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec_this, afterPropertiesSet, destroy, doGet, getId, getObject, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stopMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBeanisSingleton
- 
Constructor Details- 
JmsMessageDrivenChannelAdapterSpec
 
- 
- 
Method Details- 
jmsMessageConverter- Parameters:
- messageConverter- the messageConverter.
- Returns:
- the spec.
- See Also:
 
- 
headerMapper- Parameters:
- headerMapper- the headerMapper.
- Returns:
- the spec.
- See Also:
 
- 
extractPayload- Parameters:
- extractRequestPayload- the extractRequestPayload.
- Returns:
- the spec.
- See Also:
 
- 
shutdownContainerOnStopSet to 'false' to prevent listener container shutdown when the endpoint is stopped. Then, if so configured, any cached consumer(s) in the container will remain. Otherwise, the shared connection and will be closed and the listener invokers shut down; this behavior is new starting with version 5.1. Default: true.- Parameters:
- shutdown- false to not shutdown.
- Returns:
- the spec.
- Since:
- 5.1
 
- 
retryTemplateSet aRetryTemplateto use for retrying a message delivery within the adapter. Unlike adding retry at the container level, this can be used with anErrorMessageSendingRecovererRecoveryCallbackto publish to the error channel after retries are exhausted. You generally should not configure an error channel when using retry here, use aRecoveryCallbackinstead.- Parameters:
- retryTemplate- the template.
- Since:
- 6.3
- See Also:
 
- 
recoveryCallback
 
-