diff --git a/ballerina/session.bal b/ballerina/session.bal index ad7ccd32..de38ab84 100644 --- a/ballerina/session.bal +++ b/ballerina/session.bal @@ -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); }