Method Summary |
|
public void | assignToQueue(String queueName) This method returns the message object. |
public synchronized void | commit(Xid xid, boolean onePhase) This method is called to commit the specified transaction. |
public int | compareTo(Object o) The compare to interface used to order this object in the queues. |
public void | end(Xid xid, int flags) The resource manager has dissociated this object from the transaction. |
public void | forget(Xid xid) The transaction has been completed and must be forgotten. |
public String | getID() This method returns the id of this messsage. |
public Message | getMessage() This method returns the message object. |
public String | getMessageQueueName() This method returns the name of the messaqe queue to which this message
is assigned. |
public int | getPriority() This message returns the priority. |
public int | getTransactionTimeout() This method returns the transaction timeout for this object. |
public boolean | isSameRM(XAResource xAResource) This method returns true if this object is the resource manager getting
queried. |
public Date | nextProcessTime() This method returns the next process time for this message. |
public int | prepare(Xid xid) This is called before a transaction is committed. |
public Xid[] | recover(int flags) This method returns the list of transaction branches for this resource
manager. |
public void | remove() This method is responsible from removing this message from the db. |
public void | rollback(Xid xid) This method is called to roll back the specified transaction. |
public boolean | setTransactionTimeout(int transactionTimeout) This method sets the transaction timeout for this resource manager. |
public void | start(Xid xid, int flags) This method is called to start a transaction on a resource manager. |
public void | updateMessage(Message updatedMessage) This method updates the message object. |