Class OutboundSink


  • public class OutboundSink
    extends java.lang.Object
    A message sink that all outbound messages go through. Default sink OutboundSink.Sink used by MessagingService is MessagingService.doSend(Message, InetAddressAndPort, ConnectionType), which proceeds to send messages over the network, but it can be overridden to filter out certain messages, record the fact of attempted delivery, or delay they delivery. This facility is most useful for test code.