Re: jms-json transformation: missing library

2008-03-24 Thread mjustin
Found it :) The message was sent as a JMS BytesMessage (instead of a TextMessage) and the object property names have to be in lowercase. I am more than happy now =) Kind Regards Michael Justin mjustin wrote: > > The Delphi-generated version does not show up as SamplePojo object in the > admin

Re: jms-json transformation: missing library

2008-03-24 Thread mjustin
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

Re: jms-json transformation: missing library

2008-03-24 Thread mjustin
Hello Dejan, many thanks - it works like a charm now. Now I am stuck just at the next corner and could have know before: I wrote a SamplePojo class and send it from a Java producer tool, and it successfully shows up in the web admin console. It appears in the typical Java notation in the 'Mess

Re: jms-json transformation: missing library

2008-03-24 Thread Dejan Bosanac
Hi Michael, you are right, XStream is an optional dependency, so you have to put it manually into the lib/ folder. Additionally, you have to include jettison (http://jettison.codehaus.org) into broker's classpath if you plan to use JSON. I've just updated docs with this info (http://cwiki.apache.o

jms-json transformation: missing library

2008-03-24 Thread mjustin
Dear all, with the current 5.1 snapshot, jms-json transformation requires the Thoughtworks xstream library which is not included in the binary distribution. I have found a download location for the required jars: http://dist.codehaus.org/com.thoughtworks.xstream/jars/ If the jar can not be in