In my application, I am sending a MapMessage to a Queue via an embedded ActiveMQ broker from one thread, and receiving it in another thread in the same application (in a class that implements the MessageListener interface). Log statements in my application indicate that the contents of the map are populated when I send it, but empty when it is received. I am not sure what I am doing wrong here.
Note that I am able to send and receive TextMessages just fine within my application, it is only MapMessages that are having this problem. I am using ActiveMQ version 5.14.1.
The following is the log output from when the MapMessage is sent, and then received: