You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The value for infinite message TTL in RabbitMQ is null.
However, according to specification, page 31),
If the time-to-live is specified as zero, expiration is set to zero which indicates
the message does not expire.
So, when RMQMessage#setJMSPropertiesFromAmqpProperties is called, it does not fill the JMSExpiration since message expiration is null. Thus, later invocation of getJMSExpiration produces java.lang.NumberFormatException: Null is not a valid long.
The text was updated successfully, but these errors were encountered:
michaelklishin
changed the title
JMSExpiration property is not filled according to JMS specification
JMSExpiration should be zero for non-expiring messages
Jun 14, 2019
The value for infinite message TTL in RabbitMQ is
null
.However, according to specification, page 31),
So, when
RMQMessage#setJMSPropertiesFromAmqpProperties
is called, it does not fill theJMSExpiration
since message expiration is null. Thus, later invocation ofgetJMSExpiration
producesjava.lang.NumberFormatException: Null is not a valid long
.The text was updated successfully, but these errors were encountered: