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 Summary
Fields inherited from class MessageChannelSpec
channelFields inherited from class IntegrationComponentSpec
logger, PARSER, targetFields inherited from interface FactoryBean
OBJECT_TYPE_ATTRIBUTEFields inherited from interface SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedPublishSubscribeSpec(@Nullable Executor executor) -
Method Summary
Modifier and TypeMethodDescriptionConfigure the component identifier.subscribe(IntegrationFlow subFlow) Methods inherited from class PublishSubscribeChannelSpec
applySequence, errorHandler, ignoreFailures, maxSubscribers, minSubscribersMethods inherited from class MessageChannelSpec
datatype, doGet, interceptor, messageConverter, wireTap, wireTap, wireTapMethods inherited from class IntegrationComponentSpec
_this, afterPropertiesSet, destroy, getId, getObject, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stopMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface FactoryBean
isSingletonMethods inherited from interface SmartLifecycle
isPauseable
-
Constructor Details
-
PublishSubscribeSpec
protected PublishSubscribeSpec() -
PublishSubscribeSpec
-
-
Method Details
-
id
Description copied from class:IntegrationComponentSpecConfigure the component identifier. Used as thebeanNameto register the bean in the application context for this component.- Overrides:
idin classIntegrationComponentSpec<PublishSubscribeSpec, PublishSubscribeChannel>- Parameters:
id- the id.- Returns:
- the spec.
-
subscribe
-
getComponentsToRegister
- Specified by:
getComponentsToRegisterin interfaceComponentsRegistration- Overrides:
getComponentsToRegisterin classMessageChannelSpec<PublishSubscribeSpec, PublishSubscribeChannel>
-