You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Bjørn T Johansen <bt...@havleik.no> on 2009/04/22 15:26:57 UTC

Sending a MapMessage but receiving a Map?

I am creating a javax.jms.MapMessage and sending it but when I receive the message, it comes as java.util.HashMap...
Why? Am I doing something wrong or is this the expected behaviour?

BTW, I am using Spring and JMSTemplate.... (with a jms:listener-container to receive the message...)



Regards,

BTJ

-- 
-----------------------------------------------------------------------------------------------
Bjørn T Johansen

btj@havleik.no
-----------------------------------------------------------------------------------------------
Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"
-----------------------------------------------------------------------------------------------