Class PublishSubscribeSpec
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
org.springframework.integration.dsl.IntegrationComponentSpec<S,C>
org.springframework.integration.dsl.MessageChannelSpec<S,PublishSubscribeChannel>
org.springframework.integration.dsl.PublishSubscribeChannelSpec<PublishSubscribeSpec>
org.springframework.integration.dsl.PublishSubscribeSpec
- All Implemented Interfaces:
Aware
,BeanClassLoaderAware
,BeanFactoryAware
,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 Summary
Fields inherited from class org.springframework.integration.dsl.MessageChannelSpec
channel
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
-
Method Summary
Modifier and TypeMethodDescriptionConfigure the component identifier.subscribe
(IntegrationFlow subFlow) Methods inherited from class org.springframework.integration.dsl.PublishSubscribeChannelSpec
applySequence, errorHandler, ignoreFailures, maxSubscribers, minSubscribers
Methods inherited from class org.springframework.integration.dsl.MessageChannelSpec
datatype, doGet, interceptor, messageConverter, wireTap, wireTap, wireTap
Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, createInstance, destroyInstance, get, getId, getObjectType, getPhase, 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
-
PublishSubscribeSpec
protected PublishSubscribeSpec() -
PublishSubscribeSpec
-
-
Method Details
-
id
Description copied from class:IntegrationComponentSpec
Configure the component identifier. Used as thebeanName
to register the bean in the application context for this component.- Overrides:
id
in classIntegrationComponentSpec<PublishSubscribeSpec,
PublishSubscribeChannel> - Parameters:
id
- the id.- Returns:
- the spec.
-
subscribe
-
getComponentsToRegister
- Specified by:
getComponentsToRegister
in interfaceComponentsRegistration
- Overrides:
getComponentsToRegister
in classMessageChannelSpec<PublishSubscribeSpec,
PublishSubscribeChannel>
-