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
This method split its param string by "," and "=", so if your text contains them, the result will be not expected. For exam, your custom XML property with character "=" will be ignore. Instead, you can use DestinationViewMBean.sendMessage(Map headers, String body); Param headers can work well