1 /* 2 * $Id: CompositeMessageSource.java 22597 2011-08-05 20:40:24Z dfeist $ 3 * -------------------------------------------------------------------------------------- 4 * Copyright (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.com 5 * 6 * The software in this package is published under the terms of the CPAL v1.0 7 * license, a copy of which has been included with this distribution in the 8 * LICENSE.txt file. 9 */ 10 11 package org.mule.api.source; 12 13 import org.mule.api.MuleException; 14 15 import java.util.List; 16 17 /** 18 * Composes multiple {@link MessageSource}s. 19 */ 20 public interface CompositeMessageSource extends MessageSource 21 { 22 void addSource(MessageSource messageSource) throws MuleException; 23 24 void removeSource(MessageSource messageSource) throws MuleException; 25 26 List<MessageSource> getSources(); 27 28 }