Skip Headers

Oracle Workflow API Reference
Release 2.6.3.5

Part Number B12163-02
Previous Next       Contents Index Glossary
         Previous  Next          Contents  Index  Glossary

Mapping Between WF_EVENT_T and SYS.AQ$_JMS_TEXT_MESSAGE

Java Message Service (JMS) is a messaging standard defined by Sun Microsystems, Oracle, IBM, and other vendors. JMS is a set of interfaces and associated semantics that define how a JMS client accesses the facilities of an enterprise messaging product.

Oracle Java Message Service provides a Java API for Oracle Advanced Queuing (AQ) based on the JMS standard. Oracle JMS supports the standard JMS interfaces and has extensions to support the AQ administrative operations and other AQ features that are not a part of the standard. The abstract datatype used to store a JMS Text message in an AQ queue is called SYS.AQ$_JMS_TEXT_MESSAGE.

Oracle Workflow supports communication of JMS Text messages through the Business Event System by providing a queue handler called WF_EVENT_OJMSTEXT_QH. This queue handler translates between the standard Workflow WF_EVENT_T message structure and SYS.AQ$_JMS_TEXT_MESSAGE. Oracle Workflow also provides standard inbound and outbound queues that you can use for JMS Text messages, These queues are called WF_JMS_IN and WF_JMS_OUT, respectively, and use the WF_EVENT_OJMSTEXT_QH queue handler. See: Agents, Oracle Workflow Developer's Guide.

The SYS.AQ$_JMS_TEXT_MESSAGE datatype contains the following attributes.

The SYS.AQ$_JMS_HEADER datatype contains the following attributes.

The SYS.AQ$_JMS_USERPROPARRAY datatype is a named varying array with a maximum size of 100. The datatype of its elements is another ADT named SYS.AQ$_JMS_USERPROPERTY.

The following table shows how the attributes of the WF_EVENT_T message structure are mapped to the attributes within the SYS.AQ$_JMS_TEXT_MESSAGE structure.

WF_EVENT_T SYS.AQ$_JMS_TEXT_MESSAGE
WF_EVENT_T.PRIORITY SYS.AQ$_JMS_USERPROPARRAY
WF_EVENT_T.SEND_DATE SYS.AQ$_JMS_USERPROPARRAY
WF_EVENT_T.RECEIVE_DATE SYS.AQ$_JMS_USERPROPARRAY
WF_EVENT_T.CORRELATION_ID SYS.AQ$_JMS_USERPROPARRAY
WF_EVENT_T.EVENT_NAME SYS.AQ$_JMS_USERPROPARRAY
WF_EVENT_T.EVENT_KEY SYS.AQ$_JMS_USERPROPARRAY
WF_EVENT_T.EVENT_DATA TEXT_VC or TEXT_LOB
WF_EVENT_T.PARAMETER_LIST SYS.AQ$_JMS_HEADER.REPLYTO
WF_EVENT_T.PARAMETER_LIST SYS.AQ$_JMS_HEADER.TYPE
WF_EVENT_T.PARAMETER_LIST SYS.AQ$_JMS_HEADER.USERID
WF_EVENT_T.PARAMETER_LIST SYS.AQ$_JMS_HEADER.APPID
WF_EVENT_T.PARAMETER_LIST SYS.AQ$_JMS_HEADER.GROUPID
WF_EVENT_T.PARAMETER_LIST SYS.AQ$_JMS_HEADER.GROUPSEQ
WF_EVENT_T.PARAMETER_LIST (any parameters other than JMS header properties) SYS.AQ$_JMS_USERPROPARRAY
WF_EVENT_T.FROM_AGENT SYS.AQ$_JMS_USERPROPARRAY
WF_EVENT_T.TO_AGENT SYS.AQ$_JMS_USERPROPARRAY
WF_EVENT_T.ERROR_SUBSCRIPTION SYS.AQ$_JMS_USERPROPARRAY
WF_EVENT_T.ERROR_MESSAGE SYS.AQ$_JMS_USERPROPARRAY
WF_EVENT_T.ERROR_STACK SYS.AQ$_JMS_USERPROPARRAY

See Also

Using Oracle Java Message Service to Access AQ, Oracle Application Developer's Guide - Advanced Queuing or Using Oracle Java Message Service (OJMS) to Access Oracle Streams AQ, Oracle Streams Advanced Queuing User's Guide and Reference

Package oracle.jms, Oracle Supplied Java Packages Reference


         Previous  Next          Contents  Index  Glossary



Oracle Logo
Copyright © 2003, 2004, Oracle. All rights reserved.