Class MessageChannelSpec<S extends MessageChannelSpec<S,C>,C extends AbstractMessageChannel>
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<S,C>
org.springframework.integration.dsl.MessageChannelSpec<S,C>
- Type Parameters:
S
- the targetMessageChannelSpec
implementation type.C
- the targetAbstractMessageChannel
implementation type.
- All Implemented Interfaces:
DisposableBean
,FactoryBean<C>
,InitializingBean
,Lifecycle
,Phased
,SmartLifecycle
,ComponentsRegistration
- Direct Known Subclasses:
AbstractKafkaChannelSpec
,AmqpPollableMessageChannelSpec
,FluxMessageChannelSpec
,JmsPollableMessageChannelSpec
,LoadBalancingChannelSpec
,PriorityChannelSpec
,PublishSubscribeChannelSpec
,QueueChannelSpec
,RendezvousChannelSpec
,ZeroMqChannelSpec
public abstract class MessageChannelSpec<S extends MessageChannelSpec<S,C>,C extends AbstractMessageChannel>
extends IntegrationComponentSpec<S,C>
implements ComponentsRegistration
- Since:
- 5.0
- Author:
- Artem Bilan
-
Field Summary
Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
logger, PARSER, target
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 TypeMethodDescriptionprotected C
doGet()
interceptor
(ChannelInterceptor... interceptorArray) messageConverter
(MessageConverter converter) Populate theWire Tap
EI Pattern specificChannelInterceptor
implementation.wireTap
(WireTapSpec wireTapSpec) Populate theWire Tap
EI Pattern specificChannelInterceptor
implementation.wireTap
(MessageChannel wireTapChannel) Populate theWire Tap
EI Pattern specificChannelInterceptor
implementation.Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, afterPropertiesSet, destroy, get, getId, getObject, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stop
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
Field Details
-
channel
-
-
Constructor Details
-
MessageChannelSpec
protected MessageChannelSpec()
-
-
Method Details
-
datatype
-
interceptor
-
wireTap
Populate theWire Tap
EI Pattern specificChannelInterceptor
implementation.- Parameters:
wireTapChannel
- theMessageChannel
bean name to wire-tap.- Returns:
- the current
MessageChannelSpec
. - See Also:
-
wireTap
Populate theWire Tap
EI Pattern specificChannelInterceptor
implementation.- Parameters:
wireTapChannel
- theMessageChannel
instance to wire-tap.- Returns:
- the current
MessageChannelSpec
. - See Also:
-
wireTap
Populate theWire Tap
EI Pattern specificChannelInterceptor
implementation.- Parameters:
wireTapSpec
- theWireTapSpec
to buildWireTap
instance.- Returns:
- the current
MessageChannelSpec
. - See Also:
-
messageConverter
-
getComponentsToRegister
- Specified by:
getComponentsToRegister
in interfaceComponentsRegistration
-
doGet
- Overrides:
doGet
in classIntegrationComponentSpec<S extends MessageChannelSpec<S,
C>, C extends AbstractMessageChannel>
-