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 (JIRA)" <ji...@apache.org> on 2011/02/25 23:51:21 UTC

[jira] Closed: (AMQ-2862) ActiveMQMapMessage.toString() does not show map data on the receiver side

     [ 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