[ 
https://issues.apache.org/jira/browse/AMQ-3944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13423436#comment-13423436
 ] 

Timothy Bish commented on AMQ-3944:
-----------------------------------

The test testJMSDeliveryModeInSelector fails because the SubExpression for 
JMSDeliveryMode is returning the numeric value instead of the string equivalent 
for the delivery mode.

{noformat}
return Integer.valueOf(message.isPersistent() ? DeliveryMode.PERSISTENT : 
DeliveryMode.NON_PERSISTENT);
{noformat}

When changed to this it works as expected.

{noformat}
return message.isPersistent() ? "PERSISTENT" : "NON_PERSISTENT";
{noformat}

Not sure if this will affect existing users if we make this change.
                
> Test against the Joram JMS conformance tests.
> ---------------------------------------------
>
>                 Key: AMQ-3944
>                 URL: https://issues.apache.org/jira/browse/AMQ-3944
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>            Reporter: Hiram Chirino
>            Assignee: Hiram Chirino
>             Fix For: 5.7.0
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to