}, BodyType:byte[], Body:?xml version='1.0'
encoding='UTF-8'?it.giammar.pratomodel.QueryRequestautomatictrue/automaticquerystomp
stomp/query/it.giammar.pratomodel.QueryRequest]
--
View this message in context:
http://camel.465427.n5.nabble.com/Xstream-marshals-to-byte-array-and-not-String
:
http://camel.465427.n5.nabble.com/Xstream-marshals-to-byte-array-and-not-String-tp5129211p5134795.html
Sent from the Camel - Users mailing list archive at Nabble.com.
'?it.giammar.pratomodel.QueryRequestautomatictrue/automaticquerystomp
stomp/query/it.giammar.pratomodel.QueryRequest]
--
View this message in context:
http://camel.465427.n5.nabble.com/Xstream-marshals-to-byte-array-and-not-String-tp5129211p5134795.html
Sent from the Camel - Users mailing list archive at Nabble.com
I mean does the request reply continue to work if the last step of the route
is not a .to() but a .xstream() ? It seems not for me
--
View this message in context:
http://camel.465427.n5.nabble.com/Xstream-marshals-to-byte-array-and-not-String-tp5129211p5131281.html
Sent from the Camel - Users
not for me
--
If you reply to this email, your message will be added to the discussion
below:
http://camel.465427.n5.nabble.com/Xstream-marshals-to-byte-array-and-not-String-tp5129211p5131281.html
To unsubscribe from Xstream marshals to byte array and not String
marshal it again.
Unfortunately stomp client cannot process the message because xstream in
Camel produce a byte[] array and not a String as output.
Why? how can I force it to use a String?
Thanks,
Mario
--
View this message in context:
http://camel.465427.n5.nabble.com/Xstream-marshals-to-byte
the .convertBodyTo(String.class) to force a type conversion.
Thanks,
Mario
--
View this message in context:
http://camel.465427.n5.nabble.com/Xstream-marshals-to-byte-array-and-not-String-tp5129211p5129211.html
Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus Ibsen
in context:
http://camel.465427.n5.nabble.com/Xstream-marshals-to-byte-array-and-not-String-tp5129211p5129953.html
Sent from the Camel - Users mailing list archive at Nabble.com.