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] Closed: (AMQ-2862) ActiveMQMapMessage.toString() does not show map data on the receiver side
Date Fri, 25 Feb 2011 22:51:21 GMT

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

Timothy Bish closed AMQ-2862.
-----------------------------

    Resolution: Not A Problem
      Assignee: Timothy Bish

Working as designed.  The MapMessage contents are lazily unmarshaled as an optimization. 
The contents aren't unmarshaled from toString to avoid overhead during the in-flight phase.
 You can force an unmarshal by calling a method on the message like getMapNames() and then
the toString() would output the map contents.

> ActiveMQMapMessage.toString() does not show map data on the receiver side
> -------------------------------------------------------------------------
>
>                 Key: AMQ-2862
>                 URL: https://issues.apache.org/jira/browse/AMQ-2862
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.3.2
>         Environment: Linux
>            Reporter: Leonid Ilyevsky
>            Assignee: Timothy Bish
>
> When the sender prepares ActiveMQMapMessage and saves it in the log using toString()
method, it correctly shows the contents of the message.
> However, when the receiver gets the message, it does not show the data, "theTable" element
is always empty. Otherwise the message is OK, and map data can be retrieved correctly.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message