|
Oracle Content Management SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.ifs.beans.LibraryObject | +--oracle.ifs.beans.TieLibraryObject | +--oracle.ifs.beans.PublicObject | +--oracle.ifs.beans.TiePublicObject | +--oracle.ifs.beans.ApplicationObject | +--oracle.ifs.beans.TieApplicationObject | +--oracle.ifs.beans.Queue
Queue class represent instances of Queues in iFS. You need adimin privilege to create Queue instances. Queue class instances are used to represent instances of AQ in the system. Creation, deletion, and modifying the instances of this class do not affect the underlying AQ. AQ admin tools and api needs to be used to deal with AQ instances. Refer to AQ documentation for information about how to craete, delete, modify AQ instances.
Field Summary | |
static java.lang.String |
CLASS_NAME
This class name for this class. |
static java.lang.String |
MESSAGEPROCESSORCLASSNAME_ATTRIBUTE
The message processor of this Queue (e.g. |
static java.lang.String |
PAYLOADTYPE_ATTRIBUTE
The payload of this Queue (e.g. |
static java.lang.String |
TYPEMAP_ATTRIBUTE
The type map of the queue. |
static java.lang.String |
UNIQUENAME_ATTRIBUTE
The name of this Queue (e.g. |
Method Summary | |
oracle.sql.ORAData |
dequeue(java.lang.String subscriberName)
Dequeues a message. |
void |
enqueue(oracle.sql.ORAData message)
Enqueues a message. |
java.lang.String |
getMessageProcessorClassName()
Returns the name of message processor class of the queue instance. |
java.lang.String |
getPayloadType()
Returns the payload type of the queue instance. |
void |
setMessageProcessorClassName(java.lang.String messageProcessorClassName)
Sets the meaasge processor class of the Queue instance. |
void |
setPayloadType(java.lang.String payloadType)
Sets the payload type of the Queue instance. |
Methods inherited from class oracle.ifs.beans.LibraryObject |
equals, free, free, getAttribute, getAttributeByUpperCaseName, getAttributes, getAttributesByUpperCaseNames, getClassId, getClassObject, getDefinition, getId, getLabel, getName, getSession, invokeServerMethod, isInstanceOf, isTraced, lookupInstanceLabel, postEvent, postEvent, renderAsReader, renderAsStream, setAttribute, setAttribute, setAttributes, setAttributes, setName, toString, trace, update |
Methods inherited from interface oracle.ifs.common.LibraryObjectInterface |
getId |
Methods inherited from interface oracle.ifs.common.Traceable |
getTraceLogger, isTraced, trace |
Field Detail |
public static final java.lang.String CLASS_NAME
public static final java.lang.String UNIQUENAME_ATTRIBUTE
public static final java.lang.String PAYLOADTYPE_ATTRIBUTE
public static final java.lang.String MESSAGEPROCESSORCLASSNAME_ATTRIBUTE
public static final java.lang.String TYPEMAP_ATTRIBUTE
Method Detail |
public java.lang.String getPayloadType() throws IfsException
IfsException
- on failurepublic void setPayloadType(java.lang.String payloadType) throws IfsException
payload
- payload type of the queue instanceIfsException
- on failurepublic java.lang.String getMessageProcessorClassName() throws IfsException
IfsException
- on failureoracle.ifs.adk.MessageProcessorInterface
,
oracle.ifs.adk.IfsMessageProcessor
public void setMessageProcessorClassName(java.lang.String messageProcessorClassName) throws IfsException
messageProcessorClassName
- name of the message processor classIfsException
- on failureoracle.ifs.adk.MessageProcessorInterface
,
oracle.ifs.adk.IfsMessageProcessor
public void enqueue(oracle.sql.ORAData message) throws IfsException
message
- message to be enqueuedIfsException
- if the operation failspublic oracle.sql.ORAData dequeue(java.lang.String subscriberName) throws IfsException
subscriberName
- subscriber dequeueing the messageIfsException
- if the operation fails
|
Oracle Content Management SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |