You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (Resolved) (JIRA)" <ji...@apache.org> on 2011/11/11 22:16:52 UTC

[jira] [Resolved] (AMQ-3590) activemq-web REST servlet support for JMSType is broken via typo

     [ https://issues.apache.org/jira/browse/AMQ-3590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish resolved AMQ-3590.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 5.6.0

Fix applied in trunk, thanks.
                
> activemq-web REST servlet support for JMSType is broken via typo
> ----------------------------------------------------------------
>
>                 Key: AMQ-3590
>                 URL: https://issues.apache.org/jira/browse/AMQ-3590
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.5.0
>            Reporter: Chris Dolan
>            Priority: Minor
>             Fix For: 5.6.0
>
>
> As seen here:
>         String type = (String)asString(parameters.remove("JMSType"));
>         if (correlationID != null) {
>             message.setJMSType(type);
>         }
> http://svn.apache.org/viewvc/activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/MessageServletSupport.java?revision=1177445&view=markup#l130
> there is a copy-paste typo in the MessageServletSupport class. The null-check conditional should check the "type" variable instead of "correlationId".

--
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