|
|
This class represents queue table properties.
Constants for Message Grouping
public static final int NONE
public static final int TRANSACTIONALConstructor
public AQQueueTableProperty(java.lang.String p_type)This method creates an AQQueueTableProperty object with default property values and the specified payload type
Methods
getPayloadType
This method returns "RAW" for raw payloads or the object type for object payloads.
setPayloadType
public void setPayloadType(java.lang.String p_type) throws AQExceptionThis method is used to set the payload type.
setStorageClause
public void setStorageClause(java.lang.String s_clause) throws AQExceptio
This method is used to set the storage clause to be used to create the queue table.
getSortOrde
public java.lang.String getSortOrder() throws AQException
This method gets the sort order that is used.
Returns
The sort order used
setSortOrder
public void setSortOrder(java.lang.String s_order) throws AQException
This method sets the sort order to be used.
isMulticonsumerEnable
public boolean isMulticonsumerEnabled() throws AQException
This method queries whether the queues created in the table can have multiple consumers per message or not.
Returns
TRUE if the queues created in the table can have multiple consumers per message.
FALSE if the queues created in the table can have only one consumer per message.
setMultiConsumer
public void setMultiConsumer(boolean enable) throws AQException
This method determines whether the queues created in the table can have multiple consumers per message or not
.
getMessageGrouping
public int getMessageGrouping() throws AQException
This method is used to get the message grouping behavior for the queues in this queue table.
Returns
NONE: each message is treated individually
TRANSACTIONAL: all messages enqueued as part of one transaction are considered part of the same group and can be dequeued as a group of related messages.
setMessageGrouping
public void setMessageGrouping(int m_grouping) throws AQExceptionThis method is used to set the message grouping behavior for queues created in this queue table.
getComment
public java.lang.String getComment() throws AQExceptionThis method gets the queue table comment.
setComment
public void setComment(java.lang.String qt_comment) throws AQExceptionThis method sets a comment.
getCompatible
public java.lang.String getCompatible() throws AQExceptionThis method gets the compatible property.
setCompatible
public void setCompatible(java.lang.String qt_compatible) throws AQExceptionThis method sets the compatible property.
getPrimaryInstance
public int getPrimaryInstance() throws AQExceptionThis method gets the primary instance.
setPrimaryInstance
public void setPrimaryInstance(int inst) throws AQExceptionThis method sets the primary instance.
getSecondaryInstance
public int getSecondaryInstance() throws AQExceptionThis method gets the secondary instance.
setSecondaryInstance
public void setSecondaryInstance(int inst) throws AQExceptionThis method sets the secondary instance.
Examples:
1. Create a queue table property object with raw payload type
2. Create a queue table property object with raw payload type (for 8.1 style queues)
3. Create a queue table property object with “PERSON” payload type (ADT type):
|
|
Oracle 9i Related Tutorials |
|
---|---|
Oracle 10g Tutorial | Oracle 8i Tutorial |
Informatica Tutorial | Oracle 11g Tutorial |
All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.