1 /* 2 * Copyright (C) The Apache Software Foundation. All rights reserved. 3 * 4 * This software is published under the terms of the Apache Software License 5 * version 1.1, a copy of which has been included with this distribution in 6 * the LICENSE file. 7 * 8 * $Id: MessageletRequest.java 155459 2005-02-26 13:24:44Z dirkv $ 9 */ 10 package org.apache.commons.messagelet; 11 12 import javax.jms.Message; 13 import javax.servlet.ServletRequest; 14 15 16 /** <p><code>MessageletRequest</code> represents a servlet request that 17 * resulted from a JMS Message being received.</p> 18 * 19 * @author <a href="mailto:jstrachan@apache.org">James Strachan</a> 20 * @version $Revision: 155459 $ 21 */ 22 public interface MessageletRequest extends ServletRequest { 23 24 /** @return the Message which originated this request */ 25 public Message getMessage(); 26 27 } 28