# Integrate IBM MQ with Amazon MQ
## Setup
IBM provides a [developer edition](https://developer.ibm.com/messaging/mq-downloads/) of its WebsphereMQ messaging service. Some host systems such as Linux require specific [kernel settings](https://www.ibm.com/support/knowledgecenter/SSFKSJ_8.0.0/com.ibm.mq.ins.doc/q008550_.htm). Please make sure kernel settings are in place before proceeding with installation.
Follow the [installation instructions](https://www.ibm.com/support/knowledgecenter/en/SSFKSJ_8.0.0/com.ibm.mq.ins.doc/q008640_.htm) to install IBM MQ on EC2. For development purposes, you may chose to turn off [channel auth](https://www-01.ibm.com/support/docview.wss?uid=swg21577137) settings. Enable administration of MQ via [MQExplorer](https://www-01.ibm.com/support/docview.wss?uid=swg21623113).
## What are we doing?
We will integrate IBM MQ with AmazonMQ using Camel Spring DSL. This integration can be added to the project independently of other integrations.
## Add the IBM MQ dependencies to maven
Change version tag that matches the IBM install.
```
com.ibm.mq
com.ibm.mq.allclient
9.1.0.0
```
## Add IBM MQ bean configuration
```
```
Add the following to ~/environment/router/main/resources/secrets.properties
```
ibmmq.host=
ibmmq.port=
ibmmq.qmname=
```
## Add a route
When sending messages to IBM, remove the JMS headers. The JMS headers are set by IBM libraries before writing to a queue or topic.
```
```
## Run the project
Now run the project using the following commands.
```
export CAMEL_MASTER_PASSWORD=
mvn install
mvn camel:run
```