Skip to content

Commit

Permalink
Merge pull request #48 from ayeshLK/build-ins
Browse files Browse the repository at this point in the history
Update usage of port-configuration in the examples
  • Loading branch information
MohamedSabthar authored Aug 26, 2024
2 parents 8308ffe + c78c3fc commit 95422a8
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ configurable string userID = ?;
configurable string password = ?;
ibmmq:QueueManager queueManager = check new (
name = queueManagerName, host = host, channel = channel, userID = userID, password = password
name = queueManagerName, host = host, port = port, channel = channel, userID = userID, password = password
);
```

Expand Down
2 changes: 1 addition & 1 deletion ballerina/Module.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ configurable string userID = ?;
configurable string password = ?;
ibmmq:QueueManager queueManager = check new (
name = queueManagerName, host = host, channel = channel, userID = userID, password = password
name = queueManagerName, host = host, port = port, channel = channel, userID = userID, password = password
);
```

Expand Down
2 changes: 1 addition & 1 deletion ballerina/Package.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ configurable string userID = ?;
configurable string password = ?;
ibmmq:QueueManager queueManager = check new (
name = queueManagerName, host = host, channel = channel, userID = userID, password = password
name = queueManagerName, host = host, port = port, channel = channel, userID = userID, password = password
);
```

Expand Down
1 change: 1 addition & 0 deletions examples/consume-messages/main.bal
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public function main() returns error? {
ibmmq:QueueManager queueManager = check new (
name = queueManagerName,
host = host,
port = port,
channel = channel,
userID = userID,
password = password
Expand Down
1 change: 1 addition & 0 deletions examples/consume-mqiih-headers/main.bal
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public function main() returns error? {
ibmmq:QueueManager queueManager = check new (
name = queueManagerName,
host = host,
port = port,
channel = channel,
userID = userID,
password = password
Expand Down
1 change: 1 addition & 0 deletions examples/consume-mqrfh2-headers/main.bal
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public function main() returns error? {
ibmmq:QueueManager queueManager = check new (
name = queueManagerName,
host = host,
port = port,
channel = channel,
userID = userID,
password = password
Expand Down
1 change: 1 addition & 0 deletions examples/ibmmq-client-security/main.bal
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public function main() returns error? {
ibmmq:QueueManager queueManager = check new (
name = queueManagerName,
host = host,
port = port,
channel = channel,
userID = userID,
password = password,
Expand Down
1 change: 1 addition & 0 deletions examples/produce-messages/main.bal
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public function main() returns error?{
ibmmq:QueueManager queueManager = check new (
name = queueManagerName,
host = host,
port = port,
channel = channel,
userID = userID,
password = password
Expand Down
1 change: 1 addition & 0 deletions examples/produce-mqiih-headers/main.bal
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public function main() returns error? {
ibmmq:QueueManager queueManager = check new (
name = queueManagerName,
host = host,
port = port,
channel = channel,
userID = userID,
password = password
Expand Down
1 change: 1 addition & 0 deletions examples/produce-mqrfh2-headers/main.bal
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public function main() returns error? {
ibmmq:QueueManager queueManager = check new (
name = queueManagerName,
host = host,
port = port,
channel = channel,
userID = userID,
password = password
Expand Down

0 comments on commit 95422a8

Please sign in to comment.