|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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 |
| Constructor Summary | |
|---|---|
DirectChannel()
Create a channel with no LoadBalancingStrategy. |
|
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, getInterceptors, getName, send, send, setBeanName, setInterceptors, 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.core.MessageChannel |
|---|
getName, send, send |
| Constructor Detail |
|---|
public DirectChannel()
LoadBalancingStrategy.
The dispatcher for such a channel will invoke its
MessageHandlers in a fixed-order.
public DirectChannel(LoadBalancingStrategy loadBalancingStrategy)
LoadBalancingStrategy. The
strategy
| Method Detail |
|---|
public void setFailover(boolean failover)
protected UnicastingDispatcher getDispatcher()
getDispatcher in class AbstractSubscribableChannel
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||