org.apache.commons.messagelet
Interface MessageletResponse

All Superinterfaces:
javax.servlet.ServletResponse
All Known Implementing Classes:
HttpMessageletResponseImpl, MessageletResponseImpl

public interface MessageletResponse
extends javax.servlet.ServletResponse

MessageletResponse represents a servlet response from a JMS Message.

Version:
$Revision: 155459 $
Author:
James Strachan

Method Summary
 Messenger getReplyMessenger()
          Returns the Messenger that should be used for sending replies to this incoming request
 javax.jms.Destination getReplyToDestination()
          Returns the destination that reply to messages are sent
 void sendReply(javax.jms.Message reply)
          Sends a reply to the original message
 
Methods inherited from interface javax.servlet.ServletResponse
flushBuffer, getBufferSize, getCharacterEncoding, getLocale, getOutputStream, getWriter, isCommitted, reset, resetBuffer, setBufferSize, setContentLength, setContentType, setLocale
 

Method Detail

sendReply

void sendReply(javax.jms.Message reply)
               throws javax.jms.JMSException
Sends a reply to the original message

Throws:
javax.jms.JMSException

getReplyMessenger

Messenger getReplyMessenger()
                            throws javax.jms.JMSException
Returns the Messenger that should be used for sending replies to this incoming request

Throws:
javax.jms.JMSException

getReplyToDestination

javax.jms.Destination getReplyToDestination()
                                            throws javax.jms.JMSException
Returns the destination that reply to messages are sent

Throws:
javax.jms.JMSException


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.