Configure Sterling File Gateway
The last step is to create what is needed in Sterling File Gateway. That is in practice the Producer, Consumer, Routing Channel Template and the Routing Channel.
In this example there will be used a standard Producer that uploads a file through
myFileGateway, a Consumer that is a Agent on WebSphere MQ FTE, and a simple Pass-Through Routing Channel Template, to together create a Routing Channel.
There will also be a Community that the Producer and Consumer is
Create a Community
A Community is not necessary, but doesn’t hurt. The only important thing is that WebSphere MQ FTE is activated as a protocol in the community that is used.
Go to Participants -> Communities to create a new community.
Give the Community a suiting name.
A Producer and Consumer need to be created to test the communication.
The Producer is in this case a standard Producer that uploads files through myFileGateway.
Go to Participants -> Partners and select Create.
Select the Community created above.
Give the producer a name, and other mandatory data.
Add Username and Password for the user.
Set the Partner to be a Producer of Data.
Summary of the Producer Partner.
The Consumer will be an Agent on WebSphere MQ FTE. In this case the Agent will be AGENT1 created earlier.
Go to Participants -> Partners and select Create. Use the WMQFTE Community.
Add information for the User Account.
Set the Partner Role to be Consumer of Data, and that the Partner will listen.
Select Listen for WebSphere MQ FTE Connections.
Add the necessary information to connect to MQ FTE. Select the Agent Adapter created earlier, and the Agent and Queue Manager as well as the Reply Queue created earlier. The Destination Directory is a folder I have created on my NFS Share for the SB2BI/SFG Cluster.
The summary of the Consumer Partner.
Create a Routing Channel Template
For this example, I create a simple Routing Channel Template that only does a Pass Through. So it receives a file with any file name, and passes it through without any more logic.
Create a Routing Channel
I then use the Routing Channel Template, the Producer and the Consumer to create a Routing Channel.
I am then ready to test the solution.