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