Oracle Application Server InterConnect Adapter for MQ Series Installation and User's Guide 10g (9.0.4) Part Number B10411-01 |
|
This chapter provides an overview of the Oracle Application Server InterConnect Adapter for MQ Series (MQ Series adapter).
The MQ Series adapter enables Oracle Application Server InterConnect (OracleAS InterConnect) to send messages to and receive messages from the MQ Series queues and topics. This allows an application that uses IBM's MQ Series as its messaging technology to be integrated with other applications using OracleAS InterConnect. Therefore, the MQ Series adapter is useful in all enterprise application integration scenarios involving MQ Series-based applications.
This guide explains all necessary design time and runtime concepts of the MQ Series adapter.
The following diagram describes how the MQ Series adapter interacts with an MQ Series queue manager and OracleAS InterConnect.
The MQ Series adapter uses four logical queues or destinations to support its interaction with the MQ Series messaging system:
The need for three queues for inbound messages is mandated by a requirement to support the sending of messages from OracleAS InterConnect to MQ Series in a transactionally safe manner:
The two latter logical queues, for the logs and transaction IDs, can be combined into one physical queue.
Table 1-1 lists the hardware requirements for the computer on which the Oracle MQ Series adapter is installed.
Hardware | Windows | UNIX |
---|---|---|
Memory |
128 MB |
128 MB |
Disk Space |
500 MB |
500 MB |
The following sections list software requirements for the MQ Series adapter:
Table 1-2 lists operating system requirements for the computer on which the MQ Series adapter is installed.
OracleAS InterConnect uses JRE 1.4.1, which is installed with its components.
The following table lists the minimum software requirements for installing the MQ Series adapter.
The installation of the MQ Series adapter software components mentioned in "MQ Series Requirements" should be performed by a MQ Series system administrator.
Configuring and using the MQ Series adapter requires the following:
The MQ Series queues and topics referred to in this guide must be created and started by the user before starting the MQ Series adapter.
The MQ Series adapter is primarily used to provide messaging capabilities between OracleAS InterConnect and the MQ Series queueing systems, such as supporting the publish and subscribe paradigm for message exchanges, for example, sending or receiving orders, invoices, and product updates.
In addition to basic publish and subscribe messaging, the MQ Series adapter also supports the OracleAS InterConnect request and reply paradigm which maps directly onto MQ Series' own generic support for request and reply messages. This capability is based on the support for message correlation for OracleAS InterConnect as well as in MQ Series. Examples include inventory lookups, price calculations, and status requests.
The following sections describe the MQ Series adapter interfaces.
The MQ Series adapter uses the MQ Series JMS URI syntax for specifying which queues and topics constitute the endpoints for inbound and outbound messages.
This format is derived from uniform resource identifiers and allows the specification of remote queues (queues on a queue manager other than the one to which you have connected) as well as the setting of the other queue connection properties.
The URI for a queue starts with the sequence queue://
, followed by the name of the queue manager on which the queue resides, a further /
, then the name of the queue, and optionally, a list of name-value pairs to set the remaining queue properties as follows:
queue://[queue-manager]/queue[?property=value [&property=value ]*]
queue:///SYSTEM.DEFAULT.LOCAL.QUEUE
Note:
The name of the queue manager is omitted. This is interpreted to mean use the default queue manager as specified in the |
The URI for a topic starts with the sequence topic://
followed by the name of the topic, and optionally, a list of name-value pairs to set the remaining topic properties as follows:
topic://TopicName[?property=value [&property=value ]*]
topic://SAP/Events/HR/newCustomer?priority=1
Note:
The topic URI syntax does not allow the specification of the queue manager. It must be specified in the |
Inbound interfaces consist of MQ Series queues to which the MQ Series adapter sends messages. The MQ Series adapter only supports MQ Series queues, not topics, for inbound interfaces. The reason for this stems from the following combination of constraints:
Outbound interfaces can consist of both queues and topics from which the MQ Series adapter will receive messages. Additional configuration parameters in the adapter.ini
file allow for defining a JMS selector expression, which can be used to filter which messages should be received by MQ Series adapter. Another parameter controls whether the message consumption should be performed within a transactional or non-transactional JMS session.
MQ Series supports two connection types:
Local connections imply that the MQ Series queue manager is running on the same host as the MQ Series adapter. In this case, the MQ Series adapter only needs to know the name of the queue manager and queue name itself in order to establish a queue connection.
For remote connections, the MQ Series queue manager can run on a different host. In this case, the MQ Series adapter needs access to MQ Series client libraries, which must be installed, in order to establish a queue connection. The MQ Series adapter also needs additional configuration information such as the name of the remote host, the port number where the MQ Series listener is listening, and the channel name (MQ Series concept).
Figure 1-2 displays a client connection:
The MQ Series adapter has the following limitations:
mq.default.trans_id_expiry
configuration parameter determines how long a transaction started by the OracleAS InterConnect Agent, can stay idle before it expires. MQ Series does not expose the concept of a persistent transaction identifier, therefore, the transaction identifier is only valid for the lifespan of the MQ Series adapter instance and the underlying transactional JMS session. Consequently, a given transaction ID is rendered invalid immediately when the adapter process dies.
|
![]() Copyright © 2002, 2003 Oracle Corporation. All Rights Reserved. |
|