Class MessageChannelSpec<S extends MessageChannelSpec<S,C>,C extends AbstractMessageChannel>
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
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:
Aware,BeanClassLoaderAware,BeanFactoryAware,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
PARSER, target -
Constructor Summary
Constructors Modifier Constructor Description protectedMessageChannelSpec() -
Method Summary
Modifier and Type Method Description Sdatatype(Class<?>... types)protected CdoGet()Map<Object,String>getComponentsToRegister()Sinterceptor(ChannelInterceptor... interceptorArray)SmessageConverter(MessageConverter converter)SwireTap(String wireTapChannel)Populate theWire TapEI Pattern specificChannelInterceptorimplementation.SwireTap(WireTapSpec wireTapSpec)Populate theWire TapEI Pattern specificChannelInterceptorimplementation.SwireTap(MessageChannel wireTapChannel)Populate theWire TapEI Pattern specificChannelInterceptorimplementation.Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, createInstance, destroyInstance, get, getId, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stopMethods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
Field Details
-
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:
WireTapSpec
-
wireTap
Populate theWire TapEI Pattern specificChannelInterceptorimplementation.- Parameters:
wireTapChannel- theMessageChannelinstance to wire-tap.- Returns:
- the current
MessageChannelSpec. - See Also:
WireTapSpec
-
wireTap
Populate theWire TapEI Pattern specificChannelInterceptorimplementation.- Parameters:
wireTapSpec- theWireTapSpecto buildWireTapinstance.- Returns:
- the current
MessageChannelSpec. - See Also:
WireTap
-
messageConverter
-
getComponentsToRegister
- Specified by:
getComponentsToRegisterin interfaceComponentsRegistration
-
doGet
- Overrides:
doGetin classIntegrationComponentSpec<S extends MessageChannelSpec<S,C>,C extends AbstractMessageChannel>
-