Hi Dejan, meanwhile I found out how a JSON-encoded java object encodes the class name. Now I can see that I can generate JSON-encoded objects with Java and Delphi, the differences are very small. Only the order of the fields changes:
Generated by the Java producer: {"SamplePojo":{"name":"myname ...","id":"myId ..."}} Generated by Delphi: {"SamplePojo":{"id":"myid ...","name":"myname ..."}} The Delphi-generated version does not show up as SamplePojo object in the admin console. This means that Java clients could not receive the objects which have been JSON-encoded by Delphi ... I will investigate more and see if I can find something. (UTF8 encoding and decoding is enabled and checked). Best Regards Michael Justin mjustin wrote: > > Then I tried to send a JSON encoded object from Delphi which has the > 'transformation' property set to 'jms-json'. The message appears but no > object is shown in the message view. > > This is no surprise because JSON does not know anything about classes, it > is just a data exchange format. > > Now the question: is it possible to send a JSON encoded object to ActiveMQ > so that it will be mapped to the SamplePojo class (given that the JSON > object contains values for the the pojo properties)? > -- View this message in context: http://www.nabble.com/jms-json-transformation%3A-missing-library-tp16247478s2354p16257756.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.