Does it support WebSphereMQ

Oct 27, 2011 at 8:04 PM

Simple question: will ESB.NET work with WebSphere MQ.  If so, is it a simple configuration issue or does code need to be added/modified?

Thanks

Coordinator
Oct 27, 2011 at 9:37 PM
Edited Oct 27, 2011 at 9:46 PM

Hi, 

Yes. Configuration.

Details:

ESB.NET has a WSMQ adaptor.

There are 2 components

1) A listener

2) A sender

Via configuration, you can send and receive messages to WSMQ.

 

For each ESB.NET instance, the following WSMQ Transport Adaptor

C:\ESB\Dev\Source\ESB\Base\Transports\ESB.Core.Adaptors.Transport.Internet.Receive.WSMQ

uses the following config file

C:\ESB\Dev\Source\ESB\Base\Configuration\XMLConfigFiles\ESB.Core.Adaptors.Transport.Internet.Receive.Wsmq.config

to listen for messages.

All source code for the WSMQ Adaptor is included, so if the default functionality is not adequate, you can change it yourself.

To send a message to WSMQ, you specify a WSMQ URL in the ToAddress. This URL can either be a config file reference, or a direct WSMQ address.

Reference is in config file called:

C:\ESB\Dev\Source\ESB\Base\Configuration\XMLConfigFiles\ESB.Core.Adaptors.Transport.Send.WSMQSender.config

eg. WSMQ://default  , where default  is the <tns:QDefinition Key="default" Listen="false">

or 

    '6 params - WSMQS://host:port/QManager/channel/Q   

    '5 params - WSMQS://host/QManager/channel/Q     WSMQS://host//channel/Q    WSMQS:///QManager/channel/Q   WSMQS:///QManager//Q  WSMQS:///QManager//Q WSMQS://///Q   

    '2 params - WSMQS://Q    'Shorthand of WSMQS://///Q   

    '1 param - (Config key) WSMQCONFIG=<ConfigKey>

 

You can also select which documents in the payload are sent to WSMQ - complete Request payload, or only specified document of the ESBEnvelope.

Anything else, you can do via code.

 

HTH

Cheers Minas