2

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?

Denis Savrasov
  • 111
  • 1
  • 2
  • 10

1 Answers1

3

Problem solved by converting to TextMessage and use jmsTemplate.send(destination, s -> s.createTextMessage(textMsg));

Denis Savrasov
  • 111
  • 1
  • 2
  • 10