This discussion is archived
2 Replies Latest reply: Feb 27, 2013 7:41 AM by 879423 RSS

Map listener for Coherence Messaging problems

879423 Newbie
Currently Being Moderated
Hello,

I tried adding a map listener to coherence.messagingpattern.messages as I wanted to spy on messages inserted into the cache. I was expecting a key value pair with the queue and message id, but all I get is the key, with a null value, i.e.

ConverterCollections$ConverterMapEvent{SafeNamedCache inserted: key=Identifier{GmoQueueCache}-MsgId{26-2}, value=null}
ConverterCollections$ConverterMapEvent{SafeNamedCache updated: key=Identifier{GmoQueueCache}-MsgId{26-2}, old value=null, new value=null}
ConverterCollections$ConverterMapEvent{SafeNamedCache updated: key=Identifier{GmoQueueCache}-MsgId{26-2}, old value=null, new value=null}
ConverterCollections$ConverterMapEvent{SafeNamedCache deleted: key=Identifier{GmoQueueCache}-MsgId{26-2}, value=null}

Is there any way to get the message content via a map listener?

Thanks!

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points