1 /* 2 * Copyright (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.com 3 * The software in this package is published under the terms of the CPAL v1.0 4 * license, a copy of which has been included with this distribution in the 5 * LICENSE.txt file. 6 */ 7 package org.mule.routing.outbound; 8 9 import org.mule.api.MuleEvent; 10 import org.mule.api.MuleException; 11 12 /** 13 * <code>MulticastingRouter</code> will broadcast the current message to every endpoint 14 * registered with the router. 15 */ 16 17 public class MulticastingRouter extends AbstractSequenceRouter 18 { 19 20 /** 21 * Indicates that this router always routes messages to all the configured 22 * endpoints no matters what a given response is. 23 */ 24 @Override 25 protected boolean continueRoutingMessageAfter(MuleEvent response) throws MuleException 26 { 27 return true; 28 } 29 }