org.springframework.integration.dispatcher
Class BroadcastingDispatcher

java.lang.Object
  extended by org.springframework.integration.dispatcher.AbstractDispatcher
      extended by org.springframework.integration.dispatcher.BroadcastingDispatcher
All Implemented Interfaces:
MessageDispatcher, MessageTarget

public class BroadcastingDispatcher
extends AbstractDispatcher

A broadcasting dispatcher implementation. It makes a best effort to send the message to each of its targets. If it fails to send to any one target, it will log a warn-level message but continue to send to the other targets.

Author:
Mark Fisher

Field Summary
 
Fields inherited from class org.springframework.integration.dispatcher.AbstractDispatcher
logger, targets
 
Constructor Summary
BroadcastingDispatcher()
           
 
Method Summary
 boolean send(Message<?> message)
           
 
Methods inherited from class org.springframework.integration.dispatcher.AbstractDispatcher
addTarget, getTaskExecutor, removeTarget, sendMessageToTarget, setTaskExecutor, setTimeout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BroadcastingDispatcher

public BroadcastingDispatcher()
Method Detail

send

public boolean send(Message<?> message)