exception - How get value from mule payload -
how value mule payload. unable mule payload.
exceptionmessage{payload=activemqtextmessage {commandid = 14, responserequired = false, messageid = id:localhost.localdomain-59898-1431596266048-1:1:5:1:1, originaldestination = null, originaltransactionid = null, producerid = id:localhost.localdomain-59898-1431596266048-1:1:5:1, destination = queue://delivery-queue-a, transactionid = tx:id:localhost.localdomain-59898-1431596266048-1:1:1, expiration = 0, timestamp = 1431596274660, arrival = 0, brokerintime = 1431596274672, brokerouttime = 1431596274700, correlationid = null, replyto = null, persistent = true, type = null, priority = 4, groupid = null, groupsequence = 0, targetconsumerid = null, compressed = false, userid = null, content = org.apache.activemq.util.bytesequence@3128d4c1, marshalledproperties = org.apache.activemq.util.bytesequence@6fa7e41d, datastructure = null, redeliverycounter = 3, size = 0, properties = {mule_session=, mule_root_message_id=e33be8a0-fa1c-11e4-9365-000c294271b7, mule_endpoint=jms://delivery-queue-a, content_type=text/plain;charset=utf-8, mule_encoding=utf-8}, readonlyproperties = true, readonlybody = true, droppable = false, jmsxgroupfirstforconsumer = false, text = ccd150507074415642 (copy).xml==== }
please check if message you're printing complex object or string representation of message, define strategy accessing values.
for can log following expression #[payload.getclass().getname()]
Comments
Post a Comment