Re: XStream annotations for XML transformation

2009-02-17 Thread Dejan Bosanac
Hi Michael, We can inject the configured xstream the transformer will use. For example, for the SamplePojo used in tests we configure the xstream like this org.apache.activemq.transport.stomp.SamplePojo so it get properly annotated. I see now that they added autodetectAnnotation

XStream annotations for XML transformation

2009-02-14 Thread mjustin
Dejan Bosanac wrote: > > > is your SamplePojo properly annotated so it can be marshaled with XStream? > > In my tests (using ActiveMQ 5.2, XStream 1.3) I found that the serialization to XML works fine even without annotations, a simple (serializable) class can be received by a Stomp client i