org.exolab.jms.tools.migration.proxy
Class MessageState

java.lang.Object
  |
  +--org.exolab.jms.tools.migration.proxy.MessageState

public class MessageState
extends java.lang.Object

Manages the delivery state of a message for a particular consumer.

Version:
$Revision: 1.1 $ $Date: 2005/09/04 07:07:12 $
Author:
Tim Anderson
See Also:
Subscription

Constructor Summary
MessageState(java.lang.String messageId, boolean delivered)
          Construct a new MessageState.
 
Method Summary
 boolean getDelivered()
          Returns the message delivery status.
 java.lang.String getMessageId()
          Returns the message identifier.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageState

public MessageState(java.lang.String messageId,
                    boolean delivered)
Construct a new MessageState.
Parameters:
messageId - the message identifier
delivered - true if the message has been delivered, otherwise false
Method Detail

getMessageId

public java.lang.String getMessageId()
Returns the message identifier.
Returns:
the message identifier

getDelivered

public boolean getDelivered()
Returns the message delivery status.
Returns:
true if the message has been delivered to the consumer, otherwise false


Copyright © 1999-2007 The OpenJMS Group. All Rights Reserved.