Class BroadcastPublishSubscribeSpec
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<BroadcastPublishSubscribeSpec,BroadcastCapableChannel>
 
org.springframework.integration.dsl.BroadcastPublishSubscribeSpec
- All Implemented Interfaces:
- DisposableBean,- FactoryBean<BroadcastCapableChannel>,- InitializingBean,- Lifecycle,- Phased,- SmartLifecycle,- ComponentsRegistration
public class BroadcastPublishSubscribeSpec
extends IntegrationComponentSpec<BroadcastPublishSubscribeSpec,BroadcastCapableChannel>
implements ComponentsRegistration 
An 
IntegrationComponentSpec for configuring sub-flow subscribers on the
 provided BroadcastCapableChannel.- Since:
- 5.3
- Author:
- Artem Bilan, Gary Russell
- 
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 SummaryConstructorsModifierConstructorDescriptionprotected
- 
Method SummaryModifier and TypeMethodDescriptionsubscribe(IntegrationFlow subFlow) Configure aIntegrationFlowto configure as a subscriber for the currentBroadcastCapableChannel.Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec_this, afterPropertiesSet, destroy, doGet, get, getId, getObject, getObjectType, getPhase, id, 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- 
BroadcastPublishSubscribeSpec
 
- 
- 
Method Details- 
subscribeConfigure aIntegrationFlowto configure as a subscriber for the currentBroadcastCapableChannel.- Parameters:
- subFlow- the- IntegrationFlowto configure as a subscriber for the current- BroadcastCapableChannel.
- Returns:
- the current spec
 
- 
getComponentsToRegister- Specified by:
- getComponentsToRegisterin interface- ComponentsRegistration
 
 
-