Friday, 6 May 2016

Integrating Websphere Datapower, Message Broker, MQ and Transformation Extende

How to integrate Websphere datapower XI50 with Websphere Message Broker and MQ in one flow.
Firstly, create a new project in Message Broker.
Add 3 Nodes:
1. An MQInput Node
2. An MQOutput Node
3. And a HTTP Request Node
Connect the 3 nodes to look like the following flow below:

For the MQInput and Output Node specify an existing MQ queue from which a message or file will be sent and received. If files want to be sent over MQ use MQ FTE (File Transfer Edition)
For the Message Broker HTTP Request Node, specify the Datapower Multi Protocol Frontside Handler. 
Datapower setup:



HTTP Frontside Handler:


The HTTP Request URL will look like follow: http://IPAddressOfDP:8080
Change ‘IPAddressofDP’ to the address of your DP IP address.
When executing the Message Broker flow send a message to the Input Queue (MQInput) the message is sent to Datapower through the HTTP Request which does message transformation from Cobol to XML.
The Datapower Transformation Looks like follow:



The transformation Map was created and uploaded to Datapower using Websphere Transformation Extender Design Studio:



The reason for offloading the transformation to Datapower XI50 is for the speed of transformation and increase of flow speed.

No comments:

Post a Comment