How do I deploy and test message flows?
New users: Use this topic to get
information about deploying and testing your message flows during
development. When you have developed your message flows, message models,
and other resources, you are ready to deploy them to a broker.
You can use features provided in the IBM® Integration Toolkit to help you test your message
flows. Read How do I deploy and configure message flows? for information about
deploying and configuring message flows for use in a production environment.
Before you can deploy and test your message flows, you must create
and configure at least one broker.
You can create the Default Configuration to create a broker environment
that is suitable for testing message flows during development, see Creating the Default Configuration. You can create the Default Configuration
only if you are accessing the information center from the IBM Integration Toolkit or the IBM Integration Explorer.
How do I deploy message flows and related resources?
Use
the links in this section to get instructions on how to deploy your
message flows, message model schema files,
and related resources to a broker. Read Message flow deployment for
an overview of the concepts of deployment of message flow resources.
- How do I create a broker archive?
A
broker archive file is a compressed file that contains compiled message
flows, message dictionaries, and other application development resources.
Use this link for instructions about how to create a broker archive
file. You can use the Broker Archive editor to add or
remove message flows and message model schema files to,
or from, your broker archive. You can also use the Broker Archive
editor to edit the configurable properties in your broker archive.
- How do I add files to a broker archive?
You
can add message flows and message model schema files to
a broker archive file. The message flows, message model schema files, and related resources
are compiled when they are added to the broker archive file. You can
also choose to add the source files to the broker archive file. You
cannot add resources to a broker archive file from a project that
contains an error.
- How do I deploy a broker archive?
Find
out about the different ways that you can deploy a broker archive
file to a broker. For deploying message flows for development to a
test environment, the simplest method is to use the IBM Integration Toolkit.
- How do I check the results of the deployment?
Find
out about the ways that you can check the results of deployment. When
you deploy message flows to a test environment, the simplest method
is to use the IBM Integration Toolkit. You can
also use the mqsilist command with the name of the
broker and integration server to which you deployed your broker archive
file.
- How do I edit configurable properties?
System
objects that are defined in message flows have configurable properties
that you can update within the broker archive before deployment. By
changing configurable properties, you can customize a broker archive
for a new domain, without needing to edit and rebuild the message
flows or other resources.
- How do I refresh the contents of a
broker archive?
You can refresh the contents of a broker
archive by removing resources from it and, having made required changes,
add them back again. Alternatively, you can use the Refresh option
in the Broker Archive editor.
How can I test my message flows?
Use the
links in this section provide information about the different features
provided in the IBM Integration Toolkit to help
you to test your message flows.
- How do I test a message flow using
the Test Client?
You can test message flows that use WebSphere® MQ or HTTP input and output nodes.
If you have a message model schema files defined
for the input nodes in your message flow, the message flow test tool
can provide an input message template in XML format, that you can
use to develop test messages.
- How can I put a test message onto a WebSphere MQ queue?
Get instructions
about how to create and use an enqueue file to put a test message
on to a WebSphere MQ queue.
- How can I get a test message from a WebSphere MQ queue?
Get instructions
about how to read a message from a WebSphere MQ queue
by using the Dequeue Message dialog box.
- How can I test my message flows?
You
can use the flow debugger to help test your message flows by tracking
the path a message takes through your message flow. You can also step
through the ESQL, Java™, and
message mappings in your message flows, to view the output messages
that are being constructed.
- How can I diagnose problems?
If you are having difficulty
deploying your message flows and other resources, or receiving unexpected
results when you test your message flows, look at the problem determination
information in this topic.