[
https://issues.apache.org/jira/browse/ARTEMIS-4820?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17855704#comment-17855704
]
ASF subversion and git services commented on ARTEMIS-4820:
----------------------------------------------------------
Commit c6f227cbb883469247dd7c2389493be579ad35a0 in activemq-artemis's branch
refs/heads/main from Timothy Bish
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=c6f227cbb8 ]
ARTEMIS-4820 Read Header TTL as unsigned integer to set expiration
When setting expiration on the AMQPMessage the AMQP header TTL value
should be read as an unsigned integer and as such should use the longValue
API of UnsignedInteger to get the right value to set expiration.
> AMQP TTL message property being treated as int instead of uint
> --------------------------------------------------------------
>
> Key: ARTEMIS-4820
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4820
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: AMQP
> Affects Versions: 2.35.0
> Reporter: Timothy A. Bish
> Assignee: Timothy A. Bish
> Priority: Minor
> Fix For: 2.36.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> When setting message expiration from AMQP header TTL the value should be
> treated as an unsigned integer but is instead being read as a signed integer.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact