001 /* 002 * Copyright (C) The Apache Software Foundation. All rights reserved. 003 * 004 * This software is published under the terms of the Apache Software License 005 * version 1.1, a copy of which has been included with this distribution in 006 * the LICENSE file. 007 * 008 * $Id: MessageletRequest.java 155459 2005-02-26 13:24:44Z dirkv $ 009 */ 010 package org.apache.commons.messagelet; 011 012 import javax.jms.Message; 013 import javax.servlet.ServletRequest; 014 015 016 /** <p><code>MessageletRequest</code> represents a servlet request that 017 * resulted from a JMS Message being received.</p> 018 * 019 * @author <a href="mailto:jstrachan@apache.org">James Strachan</a> 020 * @version $Revision: 155459 $ 021 */ 022 public interface MessageletRequest extends ServletRequest { 023 024 /** @return the Message which originated this request */ 025 public Message getMessage(); 026 027 } 028