org.jboss.soa.esb.services.persistence
Interface RedeliverStore

All Superinterfaces:
MessageStore

public interface RedeliverStore
extends MessageStore

Author:
kstam

Field Summary
static java.lang.String DELIVER_COUNT
           
static java.lang.String IS_REDELIVERY
           
 
Fields inherited from interface org.jboss.soa.esb.services.persistence.MessageStore
CLASSIFICATION, CLASSIFICATION_DEFAULT, CLASSIFICATION_DLQ, CLASSIFICATION_RDLVR, DEFAULT, MESSAGE_URI
 
Method Summary
 java.lang.Integer getMaxRedeliverCount()
           
 boolean redeliver(java.net.URI uid)
          Tries to redeliver the message to it's destination.
 void setMaxRedeliverCount(java.lang.Integer maxRedeliverCount)
           
 
Methods inherited from interface org.jboss.soa.esb.services.persistence.MessageStore
addMessage, getAllMessages, getMessage, getMessage, getMessageURIGenerator, getUndeliveredMessages, removeMessage, setDelivered, setUndelivered
 

Field Detail

DELIVER_COUNT

static final java.lang.String DELIVER_COUNT
See Also:
Constant Field Values

IS_REDELIVERY

static final java.lang.String IS_REDELIVERY
See Also:
Constant Field Values
Method Detail

getMaxRedeliverCount

java.lang.Integer getMaxRedeliverCount()

setMaxRedeliverCount

void setMaxRedeliverCount(java.lang.Integer maxRedeliverCount)

redeliver

boolean redeliver(java.net.URI uid)
                  throws MessageStoreException
Tries to redeliver the message to it's destination. If delivery successfull the message record is removed from the message store.

Parameters:
uid - the unique message id
Throws:
MessageStoreException