2 Replies Latest reply: Feb 27, 2013 9:41 AM by 879423 RSS

    Map listener for Coherence Messaging problems

    879423
      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!