com.caucho.jms.cluster
Interface RemoteQueueAPI<E extends java.io.Serializable>


public interface RemoteQueueAPI<E extends java.io.Serializable>

API for the remote queues


Method Summary
 void generateMessageID(java.lang.StringBuilder cb)
           
 void readyToReceive(long timeout, boolean isAutoAck)
           
 E receive(long timeout, boolean isAutoAck)
           
 E receive(long expireTime, boolean isAutoAck, QueueEntrySelector selector)
           
 void send(java.lang.String msgId, E payload, int priority, long expires)
           
 

Method Detail

generateMessageID

void generateMessageID(java.lang.StringBuilder cb)

send

void send(java.lang.String msgId,
          E payload,
          int priority,
          long expires)

receive

E receive(long timeout,
          boolean isAutoAck)

receive

E receive(long expireTime,
          boolean isAutoAck,
          QueueEntrySelector selector)

readyToReceive

void readyToReceive(long timeout,
                    boolean isAutoAck)