| 
 | Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.3) Part Number E13941-03 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectweblogic.wtc.jatmi.EnqueueRequest
public final class EnqueueRequest
This represents the information tpenqueue needs in order to make an enqueue request
| Field Summary | |
|---|---|
| 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. | 
| Constructor Summary | |
|---|---|
| EnqueueRequest()Initializes an empty EnqueueRequest object | |
| EnqueueRequest(QueueTimeField deq_time,
               Integer priority,
               QueueTimeField exp_time,
               int delivery_qos,
               int reply_qos,
               byte[] msgid,
               byte[] corrid,
               String replyqueue,
               String failurequeue,
               boolean isTPQEXPTIME_NONE,
               boolean isTPQTOP,
               int urcode)Creates an Enqueue Request with the given fields. | |
| Method Summary | |
|---|---|
|  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() | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
public static final int TPQQOSDEFAULTPERSIST
public static final int TPQQOSPERSISTENT
public static final int TPQQOSNONPERSISTENT
| Constructor Detail | 
|---|
public EnqueueRequest()
public EnqueueRequest(QueueTimeField deq_time,
                      Integer priority,
                      QueueTimeField exp_time,
                      int delivery_qos,
                      int reply_qos,
                      byte[] msgid,
                      byte[] corrid,
                      String replyqueue,
                      String failurequeue,
                      boolean isTPQEXPTIME_NONE,
                      boolean isTPQTOP,
                      int urcode)
               throws TPException
deq_time - The dequeue time of this request or null if not specifiedpriority - The priority at which a message should be enqueued or
 null if not specified.  If non-null must be between 1 and 100exp_time - The expiration time of this message or null if not specifieddelivery_qos - The delivery quality of service. Valid values are 
 TPQQOSDEFAULTPERSIST, TPQQOSPERSISTENT, or TPQQOSNONPERSISTENT.reply_qos - The reply quality of service. Valid values are 
 TPQQOSDEFAULTPERSIST, TPQQOSPERSISTENT, or TPQQOSNONPERSISTENT.msgid - The id of the message before which this message should be
 queued, or null if none specified.  If this is non-null then
 the isTPQTOP parameter must be false.  Must be 32 bytes long.corrid - The correlation id this message should have, or null if
 not specified.  Must be 32 bytes long.replyqueue - The reply queue associated with this message, or null
 if not specifiedfailurequeue - The failure queue associated with this message, or null
 if not specifiedisTPQEXPTIME_NONE - is set to true if this message should not have
 an expiration time.  If this is set to true then exp_time must be null.isTPQTOP - is set to true if this message should be placed at the
 top of the queue.  If this is set to true then msgid must be null.urcode - a user defined return code
TPException - TPEINVAL if both msgid is non-null and isTPQTOP is
 true, or the priority field is out of range| Method Detail | 
|---|
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 set
TPException - if deq_time has an invalid value
public void setpriority(Integer priority)
                 throws TPException
priority - The priority associated with this request, or null if not set
TPException - if priority has an invalid value
public void setexp_time(QueueTimeField exp_time)
                 throws TPException
exp_time - The expiriation time associated with this request, or null if not set
TPException - TPEINVAL if isTPQEXPTIME_NONE is true
public void setdelivery_qos(int delivery_qos)
                     throws TPException
delivery_qos - The delivery quality of service associated with this
 request, or null if not set
TPException - TPEINVAL if delivery_qos is not valid
public void setreply_qos(int reply_qos)
                  throws TPException
reply_qos - The reply quality of service associated with this
 request, or null if not set
TPException - TPEINVAL if reply_qos is not valid
public 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 set
TPException - TPEINVAL if msgid is not null and the length of
 msgid is not 32
public void setcorrid(byte[] corrid)
               throws TPException
corrid - The correlation id associated
 with this request, or null if not set
TPException - TPEINVAL if corrid is not null and the length of
 corrid is not 32
public void setreplyqueue(String replyqueue)
                   throws TPException
replyqueue - The reply queue associated
 with this request, or null if not set
TPException - if replyqueue is invalid
public void setfailurequeue(String failurequeue)
                     throws TPException
failurequeue - The failure queue associated
 with this request, or null if not set
TPException - if failurequeue is invalid
public void setTPQTOP(boolean TPQTOP)
               throws TPException
TPQTOP - true if TPQTOP should be set, false otherwise
TPException - if we cannot set TPQTOP
public void setTPQEXPTIME_NONE(boolean TPQEXPTIME_NONE)
                        throws TPException
TPQEXPTIME_NONE - true if TPQEXPTIME_NONE should be set, false otherwise
TPException - if TPQEXPTIME is true and the exp_time field of this
 object is set
public void seturcode(int urcode)
               throws TPException
urcode - The user-defined return code
TPException - if we cannot set the user codepublic String toString()
toString in class Object| 
 | Copyright 1996, 2010, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Oracle WebLogic Server 10.3.3 API Reference 11g Release 1 (10.3.3) Part Number E13941-03 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||