org.springframework.integration.channel
Class RendezvousChannel

java.lang.Object
  extended by org.springframework.integration.channel.AbstractMessageChannel
      extended by org.springframework.integration.channel.QueueChannel
          extended by org.springframework.integration.channel.RendezvousChannel
All Implemented Interfaces:
org.springframework.beans.factory.BeanNameAware, MessageChannel, BlockingSource, BlockingTarget, Source, Target
Direct Known Subclasses:
DefaultErrorChannel

public class RendezvousChannel
extends QueueChannel

A zero-capacity version of QueueChannel that delegates to a SynchronousQueue internally. This accommodates "handoff" scenarios (i.e. blocking while waiting for another party to send or receive).

Author:
Mark Fisher

Field Summary
 
Fields inherited from class org.springframework.integration.channel.QueueChannel
DEFAULT_CAPACITY
 
Constructor Summary
RendezvousChannel()
           
RendezvousChannel(DispatcherPolicy dispatcherPolicy)
           
 
Method Summary
 
Methods inherited from class org.springframework.integration.channel.QueueChannel
clear, doReceive, doSend, purge
 
Methods inherited from class org.springframework.integration.channel.AbstractMessageChannel
addInterceptor, getDispatcherPolicy, getName, receive, receive, send, send, setBeanName, setInterceptors, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RendezvousChannel

public RendezvousChannel(DispatcherPolicy dispatcherPolicy)

RendezvousChannel

public RendezvousChannel()