Class JmsPollableMessageChannelSpec<S extends JmsPollableMessageChannelSpec<S,T>,T extends AbstractJmsChannel>  
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<S,C>
 
org.springframework.integration.dsl.MessageChannelSpec<S,T>
 
org.springframework.integration.jms.dsl.JmsPollableMessageChannelSpec<S,T> 
- Type Parameters:
- S- the target- JmsPollableMessageChannelSpecimplementation type.
- T- the target channel implementation type.
- All Implemented Interfaces:
- DisposableBean,- FactoryBean<T>,- InitializingBean,- Lifecycle,- Phased,- SmartLifecycle,- ComponentsRegistration
- Direct Known Subclasses:
- JmsMessageChannelSpec
public class JmsPollableMessageChannelSpec<S extends JmsPollableMessageChannelSpec<S,T>,T extends AbstractJmsChannel>  
extends MessageChannelSpec<S,T> 
A 
MessageChannelSpec for an AbstractJmsChannel.- Since:
- 5.0
- Author:
- Artem Bilan, Gary Russell, Artem Vozhdayenko
- 
Field SummaryFieldsFields inherited from class org.springframework.integration.dsl.MessageChannelSpecchannelFields 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 SummaryConstructorsModifierConstructorDescriptionprotectedJmsPollableMessageChannelSpec(ConnectionFactory connectionFactory) protectedJmsPollableMessageChannelSpec(JmsChannelFactoryBean jmsChannelFactoryBean, ConnectionFactory connectionFactory) 
- 
Method SummaryModifier and TypeMethodDescriptiondeliveryPersistent(boolean deliveryPersistent) destination(Destination destination) Configure the destination that backs this channel.destination(String destination) Configure the destination name that backs this channel.destinationResolver(DestinationResolver destinationResolver) protected TdoGet()explicitQosEnabled(boolean explicitQosEnabled) protected SConfigure the component identifier.jmsMessageConverter(MessageConverter messageConverter) Configure theMessageConverterused for both sending and receiving.messageIdEnabled(boolean messageIdEnabled) messageSelector(String messageSelector) Configure a message selector in theDefaultMessageListenerContainer(when message driven) or theJmsTemplate(when polled).messageTimestampEnabled(boolean messageTimestampEnabled) priority(int priority) Default priority.receiveTimeout(long receiveTimeout) sessionAcknowledgeMode(int sessionAcknowledgeMode) sessionTransacted(boolean sessionTransacted) Configure transactional sessions for both theJmsTemplate(sends and polled receives) andDefaultMessageListenerContainer(message-driven receives).timeToLive(long timeToLive) Methods inherited from class org.springframework.integration.dsl.MessageChannelSpecdatatype, getComponentsToRegister, interceptor, messageConverter, wireTap, wireTap, wireTapMethods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec_this, afterPropertiesSet, destroy, get, 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
- 
Field Details- 
jmsChannelFactoryBean
 
- 
- 
Constructor Details- 
JmsPollableMessageChannelSpec
- 
JmsPollableMessageChannelSpecprotected JmsPollableMessageChannelSpec(JmsChannelFactoryBean jmsChannelFactoryBean, ConnectionFactory connectionFactory) 
 
- 
- 
Method Details- 
idDescription copied from class:IntegrationComponentSpecConfigure the component identifier. Used as thebeanNameto register the bean in the application context for this component.- Overrides:
- idin class- IntegrationComponentSpec<S extends JmsPollableMessageChannelSpec<S,- T>, - T extends AbstractJmsChannel> 
- Parameters:
- id- the id.
- Returns:
- the spec.
 
- 
destinationConfigure the destination name that backs this channel.- Parameters:
- destination- the destination.
- Returns:
- the current MessageChannelSpec.
 
- 
destinationResolver- Parameters:
- destinationResolver- the destinationResolver.
- Returns:
- the current MessageChannelSpec.
- See Also:
 
- 
destinationConfigure the destination that backs this channel.- Parameters:
- destination- the destination.
- Returns:
- the current MessageChannelSpec.
 
- 
messageSelectorConfigure a message selector in theDefaultMessageListenerContainer(when message driven) or theJmsTemplate(when polled).- Parameters:
- messageSelector- the messageSelector.
- Returns:
- the current MessageChannelSpec.
- See Also:
 
- 
jmsMessageConverterConfigure theMessageConverterused for both sending and receiving.- Parameters:
- messageConverter- the messageConverter.
- Returns:
- the current MessageChannelSpec.
- See Also:
 
- 
deliveryPersistent- Parameters:
- deliveryPersistent- the deliveryPersistent.
- Returns:
- the current MessageChannelSpec.
- See Also:
 
- 
explicitQosEnabled- Parameters:
- explicitQosEnabled- the explicitQosEnabled.
- Returns:
- the current MessageChannelSpec.
- See Also:
 
- 
messageIdEnabled- Parameters:
- messageIdEnabled- the messageIdEnabled.
- Returns:
- the current MessageChannelSpec.
- See Also:
 
- 
messageTimestampEnabled- Parameters:
- messageTimestampEnabled- the messageTimestampEnabled.
- Returns:
- the current MessageChannelSpec.
- See Also:
 
- 
priorityDefault priority. May be overridden at run time with a message priority header.- Parameters:
- priority- the priority.
- Returns:
- the current MessageChannelSpec.
- See Also:
 
- 
timeToLive- Parameters:
- timeToLive- the timeToLive.
- Returns:
- the current MessageChannelSpec.
- See Also:
 
- 
receiveTimeout- Parameters:
- receiveTimeout- the receiveTimeout.
- Returns:
- the current MessageChannelSpec.
- See Also:
 
- 
sessionAcknowledgeMode- Parameters:
- sessionAcknowledgeMode- the acknowledgement mode constant
- Returns:
- the current MessageChannelSpec.
- See Also:
 
- 
sessionTransactedConfigure transactional sessions for both theJmsTemplate(sends and polled receives) andDefaultMessageListenerContainer(message-driven receives).- Parameters:
- sessionTransacted- the sessionTransacted.
- Returns:
- the current MessageChannelSpec.
 
- 
doGet- Overrides:
- doGetin class- MessageChannelSpec<S extends JmsPollableMessageChannelSpec<S,- T>, - T extends AbstractJmsChannel> 
 
 
-