Sudipta Saha

Sudipta Saha

  • NA
  • 85
  • 13.6k

Connection to IBM MQ

Jun 25 2018 7:05 AM
I wrote IBM MQ configuration section into App.config like this
 
<configSections>
<section name="MQConfiguration" type="XYZ.Common.Utilities.Integration.MQConfiguration,XYZ.Common.Utilities" />
<section name="loggingConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.LoggingSettings, Microsoft.Practices.EnterpriseLibrary.Logging, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</configSections>
<!-- MQ Configuration Section-->
<MQConfiguration>
<MQueues>
<MQueue HostName="xyz.net" QueueManagerName="xyz" ChannelName="xyz" PortNumber="2222" DestinationQueue="xyz" />
<MQueue HostName="xyz.net" QueueManagerName="xyz" ChannelName="xyz" PortNumber="2222" DestinationQueue="xyz" />
<MQueue HostName="xyz" QueueManagerName="xyz" ChannelName="xyz" PortNumber="2222" DestinationQueue="xyz" />
<MQueue HostName="xyz" QueueManagerName="xyz" ChannelName="xyz" PortNumber="2222" DestinationQueue="xyz" />
</MQueues>
</MQConfiguration>
Can anyone tell me how to get these values into class
and built the connection of MQ . Any link or any document
or any suggestion will do fine. Just a basic logic . Please help