View Javadoc

1   /*******************************************************************************
2    *  Copyright (c) 2005, 2006, 2007 Imola Informatica.
3    *  All rights reserved. This program and the accompanying materials
4    *  are made available under the terms of the LGPL License v2.1
5    *  which accompanies this distribution, and is available at
6    *  http://www.gnu.org/licenses/lgpl.html
7    *******************************************************************************/
8   package it.imolinfo.jbi4ejb.processor;
9   
10  import javax.jbi.messaging.MessageExchange;
11  
12  /**
13   * The Interface ExchangeProcessor.
14   * 
15   * @author <a href="mailto:mpiraccini@imolinfo.it">Marco Piraccini</a>
16   */
17  public interface ExchangeProcessor {
18  
19      /**
20       * Process the message exchange.
21       * 
22       * @param exchange the message exchange
23       */
24      void process(MessageExchange exchange);
25  }