You can create a DB2® user-defined
function that reads or receives all
messages from a WebSphere® MQ
message queue. The New WebSphere MQ User-Defined
Function wizard simplifies
the process of creating the user-defined function. The wizard also
works with
earlier versions of IBM's messaging product, known as MQSeries®.
Prerequisites:Before
you run the wizard:
- Install WebSphere MQ
or MQSeries 5.2
or later.
- Install the Application Messaging Interface (AMI).
- Enable the DB2 WebSphere MQIntegration
functions
Go to the following Web sites for more information
about completing
these prerequisites:
To create a user-defined function for accessing messages
on a WebSphere MQ
queue:
- Switch to the Data perspective.
- Click File > New > Other to
open the New
dialog.
- Select Data in
the left column and choose
WebSphere MQ User-Defined Function.
- Click OK. The
wizard opens.
- Complete the necessary
steps of the wizard.
- Click Finish.
The user-defined function is created
and added to the data development
project that you specified, and the user-defined function is deployed
and
registered on the database server.