micronaut-projects / micronaut-jms

Integration between Micronaut and JMS
Apache License 2.0
14 stars 14 forks source link

Treat empty message selector as null #440

Closed samu-developments closed 8 months ago

samu-developments commented 11 months ago

Ref #439 SQS not supporting non-null message selector.

Probably a better way to solve it, but at least this works for me.

CLAassistant commented 11 months ago

CLA assistant check
All committers have signed the CLA.

samu-developments commented 11 months ago

Setting the default to String.class is a better solution as it will set the value to null, https://stackoverflow.com/questions/5389200/what-is-a-java-strings-default-initial-value