activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-3944) Test against the Joram JMS conformance tests.
Date Thu, 26 Jul 2012 20:37:34 GMT

    [ 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

        

Mime
View raw message