forked from ballerina-platform/module-ballerinax-ibm.ibmmq
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restructure IBM MQ client security related example
- Loading branch information
Showing
4 changed files
with
55 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../Securing IBM MQ Client.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
queueManagerName = "QM1" | ||
host = "localhost" | ||
port = 1414 | ||
channel = "DEV.APP.SVRCONN" | ||
userID = "app" | ||
password = "password" | ||
queueName = "DEV.QUEUE.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Securing IBM MQ client | ||
|
||
This example demonstrates how to initiate secure communication between an IBM MQ client and an IBM MQ server. | ||
|
||
## Prerequisites | ||
|
||
### 1. Setup IBM MQ server | ||
|
||
Refer to the [Setup Guide](https://dev-central.ballerina.io/ballerinax/ibm.ibmmq/latest#setup-guide) to set up the IBM MQ server locally. | ||
|
||
### 2. Configuration | ||
|
||
Update IBM MQ related configurations in `Config.toml` in the example directory: | ||
|
||
```toml | ||
queueManagerName = "<queue-manager-name>" | ||
host = "<host>" | ||
port = <port> | ||
channel = "<ibm-mq-channel>" | ||
userID = "<user-ID>" | ||
password = "<password>" | ||
queueName = "<queue-name>" | ||
``` | ||
|
||
## Run the Example | ||
|
||
Execute the following command to run the example: | ||
|
||
```bash | ||
bal run | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters