activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AMQ-3590) activemq-web REST servlet support for JMSType is broken via typo
Date Fri, 11 Nov 2011 21:16:52 GMT

     [ 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

        

Mime
View raw message