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 Summary
Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
logger, PARSER, targetFields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTEFields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier 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, getId, getObject, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
Constructor Details
-
BroadcastPublishSubscribeSpec
-
-
Method Details
-
subscribe
Configure aIntegrationFlowto configure as a subscriber for the currentBroadcastCapableChannel.- Parameters:
subFlow- theIntegrationFlowto configure as a subscriber for the currentBroadcastCapableChannel.- Returns:
- the current spec
-
getComponentsToRegister
- Specified by:
getComponentsToRegisterin interfaceComponentsRegistration
-