When I send text message containing russian characters to ActiveMQ I get abracadabra. I use org.springframework.jms.core.JmsTemplate, jmsTemplate.convertAndSend. How to specify UTF-8 encoding. Is a problem in the rpoperties of JmsTemplate bean, or maybe in ActiveMq?
Asked
Active
Viewed 1,440 times
2
-
"I get abracadabra". LoL – LppEdd Apr 01 '19 at 19:14
1 Answers
3
Problem solved by converting to TextMessage and use jmsTemplate.send(destination, s -> s.createTextMessage(textMsg));

Denis Savrasov
- 111
- 1
- 2
- 10