Enqueue-Specific Features Message Production

Oracle JCA Adapter for AQ 7-5 The Message Selector Rule field is displayed in Step 15 if you select a multisubscriber queue. Enter a subscription rule in the form of a Boolean expression using syntax similar to a SQL WHERE clause, such as priority = 1, or TAB.USER_DATA.amount 1000. The adapter dequeues only those messages for which this Boolean expression is true. You must select the Access to non-payload fields also needed check box to access header information. When this check box is selected, the generated WSDL file has additional code in the type section: ?xml version = 1.0 encoding = UTF-8? ?binding.jca Inbound_aq.jca? definitions name=Inbound targetNamespace=http:xmlns.oracle.compcbpeladapteraqInbound xmlns=http:schemas.xmlsoap.orgwsdl xmlns:tns=http:xmlns.oracle.compcbpeladapteraqInbound xmlns:plt=http:schemas.xmlsoap.orgws200305partner-link xmlns:obj1=http:xmlns.oracle.comxdbSCOTT xmlns:imp1=http:www.oracle.comipdemo types schema attributeFormDefault=qualified elementFormDefault=qualified targetNamespace=http:xmlns.oracle.compcbpeladapteraqInbound xmlns=http:www.w3.org2001XMLSchema xmlns:tns=http:xmlns.oracle.compcbpeladapteraqInbound xmlns:hdr=http:xmlns.oracle.compcbpeladapteraqinbound xmlns:obj1=http:xmlns.oracle.comxdbSCOTT import namespace=http:xmlns.oracle.comxdbSCOTT schemaLocation=xsdSCOTT_MAGAZINE_TYPE.xsd import namespace=http:xmlns.oracle.compcbpeladapteraqinbound schemaLocation=xsdaqAdapterInboundHeader.xsd complexType name=HeaderCType sequence element name=QueueHeader type=hdr:HeaderType element name=PayloadHeader type=obj1:MAGAZINE_TYPE sequence complexType element name=Header type=tns:HeaderCType schema schema xmlns=http:www.w3.org2001XMLSchema import namespace=http:www.oracle.comipdemo schemaLocation=xsdsimpleMagazine.xsd schema types message name=simpleMagazine_msg part name=simpleMagazine element=imp1:simpleMagazine message message name=Header_msg part name=Header element=tns:Header message portType name=Dequeue_ptt operation name=Dequeue input message=tns:simpleMagazine_msg operation portType plt:partnerLinkType name=Dequeue_plt plt:role name=Dequeue_role plt:portType name=tns:Dequeue_ptt plt:role 7-6 Oracle Fusion Middleware Users Guide for Technology Adapters plt:partnerLinkType definitions Note that PayloadHeader is the type for the whole ADT of the queue. The payload contains only the chosen payload field. If you selected Access to non-payload fields also needed , then the PayloadHeader . jca.aq.HeaderDocument contains the whole ADT including the payload field, which is also present in the header, but ignored by the adapter. For more information about Oracle AQ Adapter architecture, adapter integration with Oracle BPEL Process Manager, and adapter deployments, see Chapter 1, Introduction to Oracle JCA Adapters.

7.2.3 Supported ADT Payload Types

The Oracle AQ Adapter supports the following RAW types: ■ BLOB ■ CHAR ■ CLOB ■ DATE ■ DECIMAL ■ DOUBLE PRECISION ■ FLOAT ■ INTEGER ■ NUMBER ■ REAL ■ SMALLINT ■ TIMESTAMP ■ VARCHAR2 In addition to the RAW types mentioned in the preceding list, the Oracle AQ Adapter supports primitive types and varrays of objects. If you choose a payload field instead of the whole ADT, then choose only one of the following data types as the payload field: ■ CLOB, either XSD or opaque schema ■ VARCHAR2, either XSD or opaque schema ■ BLOB, opaque schema only ■ XMLTYPE, either XSD or opaque schema Note: The Oracle AQ Adapter does not currently support the following data types for ADT columns: TIMESTAMP WITH LOCAL TIMEZONE and TIMESTAMP WITH TIMEZONE.