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 targetLoadBalancingChannelSpec
implementation type.C
- the targetAbstractMessageChannel
implementation type.
- All Implemented Interfaces:
Aware
,BeanClassLoaderAware
,BeanFactoryAware
,DisposableBean
,FactoryBean<C>
,InitializingBean
,Lifecycle
,Phased
,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
- Author:
- Artem Bilan
-
Field Summary
Modifier and TypeFieldDescriptionprotected Boolean
protected LoadBalancingStrategy
protected Integer
Fields inherited from class org.springframework.integration.dsl.MessageChannelSpec
channel
Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
PARSER, target
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
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 TypeMethodDescriptionloadBalancer
(LoadBalancingStrategy loadBalancingStrategyToSet) maxSubscribers
(Integer maxSubscribersToSet) Methods inherited from class org.springframework.integration.dsl.MessageChannelSpec
datatype, doGet, getComponentsToRegister, interceptor, messageConverter, wireTap, wireTap, wireTap
Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, createInstance, destroyInstance, get, getId, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stop
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
Field Details
-
loadBalancingStrategy
-
failover
-
maxSubscribers
-
-
Constructor Details
-
LoadBalancingChannelSpec
protected LoadBalancingChannelSpec()
-
-
Method Details
-
loadBalancer
-
failover
-
maxSubscribers
-