RabbitMQ client crashes when declaring a queue with additional arguments #3686
Labels
module/rabbitmq
Points/1
Reason/EngineeringMistake
The issue occurred due to a mistake made in the past.
Team/PCM
Protocol connector packages related issues
Type/Bug
Description:
When trying to declare a queue with additional arguments passed to the
arguments
field inQueueConfig
, the client crashes giving the following error.Code snippet:
Error:
error: java.lang.ClassCastException {"message":"class io.ballerina.runtime.internal.values.BmpStringValue cannot be cast to class java.lang.String (io.ballerina.runtime.internal.values.BmpStringValue is in unnamed module of loader 'app'; java.lang.String is in module java.base of loader 'bootstrap')"} at ballerinax.rabbitmq.2.Client:queueDeclare(client.bal:49) new:main(new.bal:12)
The text was updated successfully, but these errors were encountered: