1 /* 2 * $Id: InterceptingMessageProcessor.java 20320 2010-11-24 15:03:31Z 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.processor; 12 13 import org.mule.api.MuleEvent; 14 import org.mule.api.source.MessageSource; 15 16 /** 17 * <p> 18 * Processes {@link MuleEvent}'s intercepting another listener 19 * {@link MessageProcessor}. It is the InterceptingMessageProcessor's responsibility 20 * to invoke the next {@link MessageProcessor}. 21 * </p> 22 * Although not normal, it is valid for the <i>listener</i> MessageProcessor to be 23 * <i>null</i> and implementations should handle this case. 24 * 25 * @since 3.0 26 */ 27 public interface InterceptingMessageProcessor extends MessageProcessor, MessageSource 28 { 29 }