Using webMethods Integration Server with Apache Qpid 2.9
Tags: webmethods, apache, integration, technology
Published: 2019-11-28 09:09:39

---
title: Using webMethods Integration Server with Apache Qpid 2.9
published: true
tags: webmethods, apache, integration, technology
canonical_url: http://techcommunity.softwareag.com/web/guest/pwiki/-/wiki/11809/Using+webMethods+Integration+Server+with+Apache+Qpid
---

_by Sury Nagarajan, Product Management, Software AG_

#### Table of Contents [[-]](javascript:;)

- 0.1 
- 0.2 Abstract
- 0.3 Applicability
- 0.4 Configuration
- 0.5 Receiving Messages
- 0.6 Sending Messages

### #

### Abstract #

Integration Server (IS) supports sendingand receiving messages with the mostwidely used JMS providers.This document describes how to configure a JMS connection to Apache Qpid server,which is not described in the standard documentation.

### Applicability #

Product: Integration Server

Versions: 7.1.x, 8.0, 8.2

| Important Note: Software AG has not formally tested and explicitly does not support this type of connection with Apache Qpid. The configuration described here has been found to work in the field and anyone using this configuration does so at their own risk. |
| --- |

### Configuration #

1. Skip the following if your IS is 8.x. IS 8.x has all the required jars pre-bundled.
2. Add qpid-client-0.12.jar and qpid-common-0.12.jar to \<IntegrationServer\>/lib/jars
3. Restart the Integration Server
4. Create JNDI provider alias by navigating to Settings \> Messaging \> JNDI Settings in the Integration Server Administrator

| ![](http://techcommunity.softwareag.com/c/wiki/get_page_attachment?p_l_id=10160&nodeId=11809&title=&fileName=Using+webMethods+Integration+Server+with+Apache+Qpid%2F11.png) |

Hello.properties file can be located anywhere on the IS host and should contain the following:

| ![](http://techcommunity.softwareag.com/c/wiki/get_page_attachment?p_l_id=10160&nodeId=11809&title=&fileName=Using+webMethods+Integration+Server+with+Apache+Qpid%2F21.png) |

5. On using the ‘Test Lookup’ feature you should be able to see the connection factories and destinations on Apache Qpid

| ![](http://techcommunity.softwareag.com/c/wiki/get_page_attachment?p_l_id=10160&nodeId=11809&title=&fileName=Using+webMethods+Integration+Server+with+Apache+Qpid%2F3.png) |

6. Create JMS connection alias using the JNDI provider alias create above

| ![](http://techcommunity.softwareag.com/c/wiki/get_page_attachment?p_l_id=10160&nodeId=11809&title=&fileName=Using+webMethods+Integration+Server+with+Apache+Qpid%2Farticle-qpid-1.png) |

7. Enable the JMS connection – it should be enabled without errors

| ![](http://techcommunity.softwareag.com/c/wiki/get_page_attachment?p_l_id=10160&nodeId=11809&title=&fileName=Using+webMethods+Integration+Server+with+Apache+Qpid%2F5.png) |

* * *

### Receiving Messages #

1. Topic named ‘topicExchange’ already exists on Apache AMQP.2. Create a trigger. Ensure that you specify the destination name as topicExchange.

| ![](http://techcommunity.softwareag.com/c/wiki/get_page_attachment?p_l_id=10160&nodeId=11809&title=&fileName=Using+webMethods+Integration+Server+with+Apache+Qpid%2F6.png) |

3. Use a trigger service that prints out the message

| ![](http://techcommunity.softwareag.com/c/wiki/get_page_attachment?p_l_id=10160&nodeId=11809&title=&fileName=Using+webMethods+Integration+Server+with+Apache+Qpid%2F7.png) |

4. Send a message to “topicExchange” using the pub.jms.send service.

| ![](http://techcommunity.softwareag.com/c/wiki/get_page_attachment?p_l_id=10160&nodeId=11809&title=&fileName=Using+webMethods+Integration+Server+with+Apache+Qpid%2F8.png) |

5. Enter a message in the body and press ‘Send’

| ![](http://techcommunity.softwareag.com/c/wiki/get_page_attachment?p_l_id=10160&nodeId=11809&title=&fileName=Using+webMethods+Integration+Server+with+Apache+Qpid%2F9.png) |

6. You should see a message in the IS server log, indicating successful subscription from IS

| ![](http://techcommunity.softwareag.com/c/wiki/get_page_attachment?p_l_id=10160&nodeId=11809&title=&fileName=Using+webMethods+Integration+Server+with+Apache+Qpid%2F10.png) |

* * *

### Sending Messages #

1. Create a flow service which uses the use the built-in service pub:jms:send tosend a message to the Apache Qpid topic

2. Specify the connection alias and destination name and type

| ![](http://techcommunity.softwareag.com/c/wiki/get_page_attachment?p_l_id=10160&nodeId=11809&title=&fileName=Using+webMethods+Integration+Server+with+Apache+Qpid%2F11.png) |

| ![](http://techcommunity.softwareag.com/c/wiki/get_page_attachment?p_l_id=10160&nodeId=11809&title=&fileName=Using+webMethods+Integration+Server+with+Apache+Qpid%2F12.png) |

3. Add Test message and run the service

| ![](http://techcommunity.softwareag.com/c/wiki/get_page_attachment?p_l_id=10160&nodeId=11809&title=&fileName=Using+webMethods+Integration+Server+with+Apache+Qpid%2F13.png) |

4. The trigger created earlier would have received this message and you should be able to verify this though the server log.

| ![](http://techcommunity.softwareag.com/c/wiki/get_page_attachment?p_l_id=10160&nodeId=11809&title=&fileName=Using+webMethods+Integration+Server+with+Apache+Qpid%2F14.png) |

| The information in this document is provided as-is and with no warranty whatsoever. Software AG cannot be held responsible for the results of any inaccuracies. |
| --- |

* * *