Class PublishSubscribeSpec
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<PublishSubscribeSpec, PublishSubscribeChannel>
org.springframework.integration.dsl.MessageChannelSpec<PublishSubscribeSpec, PublishSubscribeChannel>
org.springframework.integration.dsl.PublishSubscribeChannelSpec<PublishSubscribeSpec>
org.springframework.integration.dsl.PublishSubscribeSpec
- All Implemented Interfaces:
- DisposableBean,- FactoryBean<PublishSubscribeChannel>,- InitializingBean,- Lifecycle,- Phased,- SmartLifecycle,- ComponentsRegistration
The 
PublishSubscribeChannelSpec extension to configure as a general flow callback for sub-flows
 as subscribers.- Since:
- 5.0
- Author:
- Artem Bilan, Gary Russell
- 
Field SummaryFields 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 SummaryConstructorsModifierConstructorDescriptionprotectedprotectedPublishSubscribeSpec(@Nullable Executor executor) 
- 
Method SummaryModifier and TypeMethodDescriptionConfigure the component identifier.subscribe(IntegrationFlow subFlow) Methods inherited from class org.springframework.integration.dsl.PublishSubscribeChannelSpecapplySequence, errorHandler, ignoreFailures, maxSubscribers, minSubscribersMethods inherited from class org.springframework.integration.dsl.MessageChannelSpecdatatype, doGet, interceptor, messageConverter, wireTap, wireTap, wireTapMethods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec_this, afterPropertiesSet, destroy, 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- 
PublishSubscribeSpecprotected PublishSubscribeSpec()
- 
PublishSubscribeSpec
 
- 
- 
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<PublishSubscribeSpec, PublishSubscribeChannel>
- Parameters:
- id- the id.
- Returns:
- the spec.
 
- 
subscribe
- 
getComponentsToRegister- Specified by:
- getComponentsToRegisterin interface- ComponentsRegistration
- Overrides:
- getComponentsToRegisterin class- MessageChannelSpec<PublishSubscribeSpec, PublishSubscribeChannel>
 
 
-