Class BroadcastPublishSubscribeSpec
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
org.springframework.integration.dsl.IntegrationComponentSpec<BroadcastPublishSubscribeSpec,BroadcastCapableChannel>
org.springframework.integration.dsl.BroadcastPublishSubscribeSpec
- All Implemented Interfaces:
Aware
,BeanClassLoaderAware
,BeanFactoryAware
,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
PARSER, target
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE
-
Constructor Summary
ModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionsubscribe
(IntegrationFlow subFlow) Configure aIntegrationFlow
to configure as a subscriber for the currentBroadcastCapableChannel
.Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stop
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
Constructor Details
-
BroadcastPublishSubscribeSpec
-
-
Method Details
-
subscribe
Configure aIntegrationFlow
to configure as a subscriber for the currentBroadcastCapableChannel
.- Parameters:
subFlow
- theIntegrationFlow
to configure as a subscriber for the currentBroadcastCapableChannel
.- Returns:
- the current spec
-
getComponentsToRegister
- Specified by:
getComponentsToRegister
in interfaceComponentsRegistration
-