How to pass an ObjectMessage object from perl to JMS

I want to send a perl object as a message to a JMS server. I am using Net :: Stomp to send a message from the perl client to the jms server. I can send a text message, but I want to build an object similar to a java object and send it to jms and convert that perl object back to a java object on the jms server. Can anyone help?

+4
source share
1 answer

Take a look at the Message Transformation section of the ActiveMQ Stomp support page, which shows how an XML object (also works with JSON) can be sent to an ActiveMQ broker and converted to a Java object. You can also register and create your own Transformation class if you do not want to use XML or JSON.

+2
source

Source: https://habr.com/ru/post/1311075/


All Articles