Class LoadBalancingChannelSpec<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>
org.springframework.integration.dsl.LoadBalancingChannelSpec<S,C>
- Type Parameters:
S- the targetLoadBalancingChannelSpecimplementation type.C- the targetAbstractMessageChannelimplementation type.
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanClassLoaderAware,org.springframework.beans.factory.BeanFactoryAware,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.FactoryBean<C>,org.springframework.beans.factory.InitializingBean,org.springframework.context.Lifecycle,org.springframework.context.Phased,org.springframework.context.SmartLifecycle,ComponentsRegistration
- Direct Known Subclasses:
DirectChannelSpec,ExecutorChannelSpec
public abstract class LoadBalancingChannelSpec<S extends MessageChannelSpec<S,C>,C extends AbstractMessageChannel> extends MessageChannelSpec<S,C>
- Since:
- 5.0
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Booleanfailoverprotected LoadBalancingStrategyloadBalancingStrategyprotected java.lang.IntegermaxSubscribersFields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
PARSER, target -
Constructor Summary
Constructors Modifier Constructor Description protectedLoadBalancingChannelSpec() -
Method Summary
Modifier and Type Method Description Sfailover(java.lang.Boolean failoverToSet)SloadBalancer(LoadBalancingStrategy loadBalancingStrategyToSet)SmaxSubscribers(java.lang.Integer maxSubscribersToSet)Methods inherited from class org.springframework.integration.dsl.MessageChannelSpec
datatype, doGet, getComponentsToRegister, interceptor, messageConverter, wireTap, wireTap, wireTapMethods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, createInstance, destroyInstance, get, getId, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stop
-
Field Details
-
loadBalancingStrategy
-
failover
protected java.lang.Boolean failover -
maxSubscribers
protected java.lang.Integer maxSubscribers
-
-
Constructor Details
-
LoadBalancingChannelSpec
protected LoadBalancingChannelSpec()
-
-
Method Details