Class FixedSubscriberChannel
java.lang.Object
org.springframework.integration.channel.FixedSubscriberChannel
- All Implemented Interfaces:
- Aware,- BeanNameAware,- NamedComponent,- MessageChannel,- SubscribableChannel
public final class FixedSubscriberChannel
extends Object
implements SubscribableChannel, BeanNameAware, NamedComponent
Specialized 
SubscribableChannel for a single final subscriber set up during bean instantiation (unlike
 other SubscribableChannels where the MessageHandler is subscribed when the endpoint
 is started). This channel does not support interceptors or data types.
 
 Note: Stopping (unsubscribe(MessageHandler)) the subscribed (MessageHandler) has no effect.
- Since:
- 4.0
- Author:
- Gary Russell, Artem Bilan
- 
Field SummaryFields inherited from interface org.springframework.messaging.MessageChannelINDEFINITE_TIMEOUT
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanbooleanvoidsetBeanName(String name) booleansubscribe(MessageHandler handler) booleanunsubscribe(MessageHandler handler) 
- 
Constructor Details- 
FixedSubscriberChannelpublic FixedSubscriberChannel()
- 
FixedSubscriberChannel
 
- 
- 
Method Details- 
setBeanName- Specified by:
- setBeanNamein interface- BeanNameAware
 
- 
getBeanName- Specified by:
- getBeanNamein interface- NamedComponent
 
- 
send- Specified by:
- sendin interface- MessageChannel
 
- 
send- Specified by:
- sendin interface- MessageChannel
 
- 
subscribe- Specified by:
- subscribein interface- SubscribableChannel
 
- 
unsubscribe- Specified by:
- unsubscribein interface- SubscribableChannel
 
- 
getComponentType- Specified by:
- getComponentTypein interface- NamedComponent
 
- 
getComponentName- Specified by:
- getComponentNamein interface- NamedComponent
 
 
-