Problem with sending XML body via JMX's sendTextMessageWithProperties

2014-08-04 Thread bondyk
I'm trying to send XML message with properties using DestinationViewMBean.sendTextMessageWithProperties(...) method. It accepts a comma separated list of key=value pairs where we can specify the body and other properties (body=,CustomProperty='a=b'). In case if value of any property contains charac

Re: Problem with sending XML body via JMX's sendTextMessageWithProperties

2014-08-04 Thread bondyk
Thanks. Method DestinationViewMBean.sendMessage(Map headers, String body) works well. I wrote a small class that uses it so the problem is solved. Method sendTextMessageWithProperties I tried to use from JConsole because sendMessage(Map headers, String body) is not possible to invoke (requires obje

Re: Problem with sending XML body via JMX's sendTextMessageWithProperties

2014-08-01 Thread kimmking
); Param headers can work well as your wish here. From: bondyk [via ActiveMQ] Date: 2014-08-01 15:00 To: kimmking Subject: Problem with sending XML body via JMX's sendTextMessageWithProperties I'm trying to send XML message with properties using DestinationViewMBean.sendTextMessage