Oracle9iAS InterConnect Adapter for MQ Series Installation and User's Guide Release 2 (9.0.2) Part Number A95443-01 |
|
This chapter discusses the following topic:
The Oracle Technology Adapter for IBM MQ Series enables Oracle9iAS 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 Oracle9iAS 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 Oracle9iAS 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 Oracle9iAS 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.
Table 1-1 Hardware Requirements
Hardware | Windows NT/2000 | 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.
Table 1-2 Operating System Requirements
Oracle9iAS InterConnect uses JRE 1.3, which is installed with its components.
The following table lists the minimum software requirements for installing the MQ Series adapter.
Software | Supported Versions |
---|---|
MQ Series Server |
Version 5.1 or 5.2 |
MQ Series ClientFoot 1 |
Version 5.1 or 5.2 |
MQ Series classes for Java and MQ Series classes for Java Message Service (JMS) |
Version 1.1.3 or latest supporting MQ Series 5.1 or 5.2 Downloadable from http://www-4.ibm.com/software/ts/mqseries/txppacs/ma88.html |
MQ Series - Publish/SubscribeFoot 2 |
Version 1.0.6 or latest supporting MQ Series 5.1 or 5.2 Downloadable from http://www-4.ibm.com/software/ts/mqseries/txppacs/ma0c.html |
1
Only needed if using remote or non-local MQ Series queue manager. 2 Only needed if topic (publish/subscribe) support in MQ Series is required. |
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 Oracle9iAS 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 Oracle9iAS 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 Oracle9iAS 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
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
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 Oracle9iAS 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 Oracle Corporation. All Rights Reserved. |
|