Skip to content

Boolean properties do not work when working with AMQP destinations #146

@jjank

Description

@jjank

Hello,

in our project we noticed that rabbitmq-jms will silently fail to read boolean properties or more specifically RMQMessage#getBooleanProperty will always return false.

I've created a minimal working example which demonstrates the problem.

It seems that the fix is rather simple: "just" handle Boolean in RMQMessage#putIfNotNullAndAmqpType. I've tried this out locally and the example will not fail anymore.

Is there a specific reason why Boolean is not handled or was this simply a mistake?

I'd be happy to provide a PR!

Thanks 👍

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions