[
https://issues.apache.org/jira/browse/AMQ-5323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joao Silva de Melo updated AMQ-5323:
------------------------------------
Description:
When you retrieve the JMSDeliveryMode property from an ActiveMQ message, it
returns either "PERSITENT" or "NON_PERSISTENT".
However, when using the set property, it only supports either Integer values or
Boolean values.
That is why is sensible to support the mapping from the above string
representation ("PERSITENT" or "NON_PERSISTENT") to integer (1 or 2).
was:
When you retrieve the JMSDeliveryMode property from an ActiveMQ message, it
returns either "PERSITENT" or "NON_PERSISTENT".
However, when using the set property, it only supports either Integer values or
Boolean values.
That is why is sensible to support the mapping from the above string
representation ("PERSITENT" or "NON_PERSISTENT") to integer (0 or 1).
> ActiveMQ Message getProperty and setProperty inconsistent behaviour
> -------------------------------------------------------------------
>
> Key: AMQ-5323
> URL: https://issues.apache.org/jira/browse/AMQ-5323
> Project: ActiveMQ
> Issue Type: Bug
> Components: JMS client
> Affects Versions: 5.10.0
> Reporter: Joao Silva de Melo
>
> When you retrieve the JMSDeliveryMode property from an ActiveMQ message, it
> returns either "PERSITENT" or "NON_PERSISTENT".
> However, when using the set property, it only supports either Integer values
> or Boolean values.
> That is why is sensible to support the mapping from the above string
> representation ("PERSITENT" or "NON_PERSISTENT") to integer (1 or 2).
--
This message was sent by Atlassian JIRA
(v6.2#6252)