activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shawn Jiang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AMQ-2840) JMSX Properties not returned from message.propertyExists() and message.getPropertyNames()
Date Thu, 19 Aug 2010 04:55:48 GMT

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

Shawn Jiang commented on AMQ-2840:
----------------------------------

Hi, this patch broke the jms spec:

-----------------------------------------------------------------------------------------------
/**Returns an Enumeration of all the property names. 
** Note that *JMS standard header fields are not considered properties and are not returned
in this enumeration*. 
**/
Enumeration getPropertyNames()  throws JMSException
----------------------------------------------------------------------------------------------------

So that this change is preventing the tck from passing.    Could you please fix this ?  


> JMSX Properties not returned from message.propertyExists() and message.getPropertyNames()
> -----------------------------------------------------------------------------------------
>
>                 Key: AMQ-2840
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2840
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.4.0
>            Reporter: Andriy Hnativ
>            Assignee: Gary Tully
>             Fix For: 5.4.0
>
>         Attachments: patch.txt
>
>
> Methods propertyExists() and getPropertyNames() defined in the class org.apache.activemq.command.ActiveMQMessage
(activemq-core) return only custom properties. The JMSX properties (like JMSXDeliveryCount)
are not being returned. This problem exists not only for a new version of ActiveMQ (5.4),
but also for 5.3 (and probably for others as well).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message