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 targetMessageChannelSpecimplementation type.C- the targetAbstractMessageChannelimplementation 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
FieldsFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CdoGet()interceptor(ChannelInterceptor... interceptorArray) messageConverter(MessageConverter converter) Populate theWire TapEI Pattern specificChannelInterceptorimplementation.wireTap(WireTapSpec wireTapSpec) Populate theWire TapEI Pattern specificChannelInterceptorimplementation.wireTap(MessageChannel wireTapChannel) Populate theWire TapEI Pattern specificChannelInterceptorimplementation.Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, afterPropertiesSet, destroy, 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
-
Field Details
-
channel
-
-
Constructor Details
-
MessageChannelSpec
protected MessageChannelSpec()
-
-
Method Details
-
datatype
-
interceptor
-
wireTap
Populate theWire TapEI Pattern specificChannelInterceptorimplementation.- Parameters:
wireTapChannel- theMessageChannelbean name to wire-tap.- Returns:
- the current
MessageChannelSpec. - See Also:
-
wireTap
Populate theWire TapEI Pattern specificChannelInterceptorimplementation.- Parameters:
wireTapChannel- theMessageChannelinstance to wire-tap.- Returns:
- the current
MessageChannelSpec. - See Also:
-
wireTap
Populate theWire TapEI Pattern specificChannelInterceptorimplementation.- Parameters:
wireTapSpec- theWireTapSpecto buildWireTapinstance.- Returns:
- the current
MessageChannelSpec. - See Also:
-
messageConverter
-
getComponentsToRegister
- Specified by:
getComponentsToRegisterin interfaceComponentsRegistration
-
doGet
- Overrides:
doGetin classIntegrationComponentSpec<S extends MessageChannelSpec<S,C>, C extends AbstractMessageChannel>
-