public final class EnqueueRequest extends Object implements Serializable
| Modifier and Type | Field and Description | 
|---|---|
| static int | TPQQOSDEFAULTPERSISTThis flag specifies that the message is to be delivered using
 the default delivery policy specified on the target queue | 
| static int | TPQQOSNONPERSISTENTThis flag specifies that the message is to be delivered
 in a non-persistent manner using the memory-based delivery
 method. | 
| static int | TPQQOSPERSISTENTThis flag specifies that the message is to be delivered
 in a persistent manner using the disk-based delivery
 method. | 
| Modifier and Type | Method and Description | 
|---|---|
| byte[] | getcorrid()Gets the corrid field of this object | 
| int | getdelivery_qos()Gets the delivery_qos field of this object | 
| QueueTimeField | getdeq_time()Gets the deq_time field of this object | 
| QueueTimeField | getexp_time()Gets the exp_time field of this object | 
| String | getfailurequeue()Gets the failurequeue field of this object | 
| byte[] | getmsgid()Gets the msgid field of this object | 
| Integer | getpriority()Gets the priority field of this object | 
| int | getreply_qos()Gets the reply_qos field of this object | 
| String | getreplyqueue()Gets the replyqueue field of this object | 
| int | geturcode()Gets the user-defined return code | 
| boolean | isTPQEXPTIME_NONE()Gets the isTPQEXPTIME_NONE field of this object | 
| boolean | isTPQTOP()Gets the isTPQTOP field of this object | 
| void | setcorrid(byte[] corrid)Sets the corrid field of this object | 
| void | setdelivery_qos(int delivery_qos)Sets the delivery_qos field of this object | 
| void | setdeq_time(QueueTimeField deq_time)Sets the deq_time field of this object | 
| void | setexp_time(QueueTimeField exp_time)Sets the exp_time field of this object | 
| void | setfailurequeue(String failurequeue)Sets the failurequeue field of this object | 
| void | setmsgid(byte[] msgid)Sets the msgid field of this object | 
| void | setpriority(Integer priority)Sets the priority field of this object | 
| void | setreply_qos(int reply_qos)Sets the reply_qos field of this object | 
| void | setreplyqueue(String replyqueue)Sets the replyqueue field of this object | 
| void | setTPQEXPTIME_NONE(boolean TPQEXPTIME_NONE)Sets the TPQEXPTIME_NONE field of this object | 
| void | setTPQTOP(boolean TPQTOP)Sets the TPQTOP field of this object | 
| void | seturcode(int urcode)Sets the user-defined return code | 
| String | toString() | 
public static final int TPQQOSDEFAULTPERSIST
public static final int TPQQOSPERSISTENT
public static final int TPQQOSNONPERSISTENT
public QueueTimeField getdeq_time()
public Integer getpriority()
public QueueTimeField getexp_time()
public int getdelivery_qos()
public int getreply_qos()
public byte[] getmsgid()
public byte[] getcorrid()
public String getreplyqueue()
public String getfailurequeue()
public boolean isTPQTOP()
public boolean isTPQEXPTIME_NONE()
public int geturcode()
public void setdeq_time(QueueTimeField deq_time) throws TPException
deq_time - The dequeue time associated with this request, or null
 if not setTPException - if deq_time has an invalid valuepublic void setpriority(Integer priority) throws TPException
priority - The priority associated with this request, or null if not setTPException - if priority has an invalid valuepublic void setexp_time(QueueTimeField exp_time) throws TPException
exp_time - The expiriation time associated with this request, or null if not setTPException - TPEINVAL if isTPQEXPTIME_NONE is truepublic void setdelivery_qos(int delivery_qos)
                     throws TPException
delivery_qos - The delivery quality of service associated with this
 request, or null if not setTPException - TPEINVAL if delivery_qos is not validpublic void setreply_qos(int reply_qos)
                  throws TPException
reply_qos - The reply quality of service associated with this
 request, or null if not setTPException - TPEINVAL if reply_qos is not validpublic void setmsgid(byte[] msgid)
              throws TPException
msgid - The msgid before which this message is to be enqueued associated
 with this request, or null if not setTPException - TPEINVAL if msgid is not null and the length of
 msgid is not 32public void setcorrid(byte[] corrid)
               throws TPException
corrid - The correlation id associated
 with this request, or null if not setTPException - TPEINVAL if corrid is not null and the length of
 corrid is not 32public void setreplyqueue(String replyqueue) throws TPException
replyqueue - The reply queue associated
 with this request, or null if not setTPException - if replyqueue is invalidpublic void setfailurequeue(String failurequeue) throws TPException
failurequeue - The failure queue associated
 with this request, or null if not setTPException - if failurequeue is invalidpublic void setTPQTOP(boolean TPQTOP)
               throws TPException
TPQTOP - true if TPQTOP should be set, false otherwiseTPException - if we cannot set TPQTOPpublic void setTPQEXPTIME_NONE(boolean TPQEXPTIME_NONE)
                        throws TPException
TPQEXPTIME_NONE - true if TPQEXPTIME_NONE should be set, false otherwiseTPException - if TPQEXPTIME is true and the exp_time field of this
 object is setpublic void seturcode(int urcode)
               throws TPException
urcode - The user-defined return codeTPException - if we cannot set the user code