Skip to content

Commit

Permalink
Refactor create-consumer API
Browse files Browse the repository at this point in the history
  • Loading branch information
ayeshLK committed Aug 2, 2023
1 parent b24d7bb commit fe05b17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ballerina/session.bal
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public isolated client class Session {
#
# + consumerOptions - The relevant consumer configurations
# + return - Returns a jms:MessageConsumer
public isolated function createConsumer(ConsumerOptions consumerOptions) returns MessageConsumer|Error {
public isolated function createConsumer(*ConsumerOptions consumerOptions) returns MessageConsumer|Error {
return new MessageConsumer(self, consumerOptions);
}

Expand Down

0 comments on commit fe05b17

Please sign in to comment.