Creating a WebSphere MQ File Transfer Edition Agent Adapter

When you create a WebSphere® MQ File Transfer Edition Agent adapter, you are creating a WebSphere MQ File Transfer Edition agent within Sterling B2B Integrator that is a Protocol Bridge Agent. This agent can be started and stopped from the Sterling B2B Integrator Dashboard like any other Sterling B2B Integrator adapter. As part of the configuration, Sterling B2B Integrator creates a script that contains the commands to build the queues the agent requires in the agent's queue manager. This script can be downloaded from the configuration page or the Sterling B2B Integrator Dashboard. The script must be downloaded and run on the server where the WebSphere MQ File Transfer Edition Agent Adapter's agent queue manager runs.

MQSC Agent Queue Scripts

One of the scripts that Sterling B2B Integrator generates when a WebSphere MQ File Transfer Edition Agent Adapter is created, <agentname>-create.mqsc, creates the queues that the WebSphere MQ File Transfer Edition Agent Adapter will use. This script must be run on the machine running the WebSphere MQ File Transfer Edition Agent Adapter's agent queue manager to create the queues that the WebSphere MQ File Transfer Edition Agent Adapter will use. The queues must exist on the agent queue manager before the WebSphere MQ File Transfer Edition Agent Adapter starts. The first thing the WebSphere MQ File Transfer Edition Agent Adapter does when it starts is look for its queues. If the WebSphere MQ File Transfer Edition Agent Adapter can't find the queues, it will stop with an error. After the script is run, you can enable the WebSphere MQ File Transfer Edition agent.

The second script that Sterling B2B Integrator generates when the WebSphere MQ File Transfer Edition Agent Adapter is created is <agentname>-delete.mqsc. Run this script on the machine running the WebSphere MQ File Transfer Edition Agent Adapter's agent queue manager if you need to remove the WebSphere MQ File Transfer Edition Agent Adapter's queues. You would only use this script if you were deleting the agent adapter and needed to remove the agent's queues.

Creating and Enabling a WebSphere MQ File Transfer Edition Agent Adapter

There are three things that you need to do to create and enable a WebSphere MQ File Transfer Edition Agent Adapter:
  1. Create the WebSphere MQ File Transfer Edition Agent Adapter in Sterling B2B Integrator, but do not enable it
  2. Run the script for creating the WMQFTE Agent Adapter queues on the machine running the WebSphere MQ File Transfer Edition Agent Adapter's queue manager.
  3. Edit the WebSphere MQ File Transfer Edition Agent Adapter and enable it for use with business processes.