|
Spring Integration | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.integration.context.IntegrationObjectSupport org.springframework.integration.channel.AbstractMessageChannel org.springframework.integration.channel.AbstractSubscribableChannel org.springframework.integration.channel.DirectChannel
public class DirectChannel
A channel that invokes a single subscriber for each sent Message. The invocation will occur in the sender's thread.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.springframework.integration.channel.AbstractMessageChannel |
---|
AbstractMessageChannel.ChannelInterceptorList |
Field Summary |
---|
Fields inherited from class org.springframework.integration.channel.AbstractMessageChannel |
---|
logger |
Constructor Summary | |
---|---|
DirectChannel()
Create a channel with default RoundRobinLoadBalancingStrategy |
|
DirectChannel(LoadBalancingStrategy loadBalancingStrategy)
Create a DirectChannel with a LoadBalancingStrategy . |
Method Summary | |
---|---|
protected UnicastingDispatcher |
getDispatcher()
|
void |
setFailover(boolean failover)
Specify whether the channel's dispatcher should have failover enabled. |
Methods inherited from class org.springframework.integration.channel.AbstractSubscribableChannel |
---|
doSend, subscribe, unsubscribe |
Methods inherited from class org.springframework.integration.channel.AbstractMessageChannel |
---|
addInterceptor, getComponentType, getInterceptors, send, send, setConversionService, setDatatypes, setInterceptors, setShouldTrack |
Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport |
---|
afterPropertiesSet, getBeanFactory, getComponentName, getConversionService, getTaskScheduler, onInit, setBeanFactory, setBeanName, setComponentName, setTaskScheduler, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.springframework.integration.MessageChannel |
---|
send, send |
Methods inherited from interface org.springframework.integration.context.NamedComponent |
---|
getComponentName |
Constructor Detail |
---|
public DirectChannel()
RoundRobinLoadBalancingStrategy
public DirectChannel(LoadBalancingStrategy loadBalancingStrategy)
LoadBalancingStrategy
. The
strategy
Method Detail |
---|
public void setFailover(boolean failover)
protected UnicastingDispatcher getDispatcher()
getDispatcher
in class AbstractSubscribableChannel
|
Spring Integration | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |