Upload
others
View
7
Download
0
Embed Size (px)
Citation preview
MuleSoft Lab 1(WMQ Binding)
Requirement:
I will show you how to connect Web Sphere MQ with Mulesoft. I
will prepare very simple scenario only two WMQ node and check
with the data transfer from one Queue to other mentioned Queue.
Prerequisite:
1. Web sphere MQ (IBM)
2. MuleSoft Tool (Mule)
Tool Configuration:
In tool we have to configure one service where we put all the
information of the queue manager and that will help to connect with
WMQ. So how many numbers of queue you want, you can can use it
with the same configuration file. If you want a new Queue Manager
interaction then you will create a new WMQ connection, then you
will get all the queue of that queue manager in your mule tool.
I will explain step by step with the basic fundamental idea of
mulesoft tool.
Basic idea of Mulesoft Tool GUI:
Step 1:
If you already created the mule project then you will go for create a
Mule configuration file, otherwise same way you will create a mule
project and in that a mule configuration file is present.
Step 2:
Now I will search a MQ node in the Node tray, for MQ we will wmq
then we will get the node.
Step 3:
Drag the wmq node to the and make a configuration file for MQ
Binding.
Here WMQ is the configuration file for MQ binding with mulesoft
so when you will create you will get the configuration file name with
this drop down.
In next step I will show you how to configure the wmq file with
Mule.
Step 4:
So after choosing the wmq configuration in the WMQ node property
then place the queue name and save it after the you have to add the
action what you want to do with the data, for that you will choose
the action and the transaction type.
Step 5:
Now you will continue the same step for the other WMQ node for
store the data in a output queue, Step 1 → Step 5, Give the output
queue name.
Step 6:
Now we will run the application on the mule server, like IIB. So we
can run the Muleflow in two different ways.
Step 7:
After deploy the Muleflow you will get this screen and with this
screen you can monitor like,
1. The flow deploy successful or not.
2. You can see the data transfer from the source to target.
3. You can check the error and the exceptions also.
Step 8:
Now you can see the previous snap there the flow is successful
deploy and so we will try the data transfer.
Now you want to see the transaction then you will check in the
console.
All the configuration are successful and the data transfer perfectly
done.
Reference:
If you have any problem then you can give comment on this post in
my blog.
Blog url: https://eaidev.wordpress.com/
Learn as much you can, there is no limit.
Thank you.