Hello,
the documentation for the new REST interface mentions a special property which causes HornetQ to serialize a JMS ObjectMessage:
If you have a JMS producer, the HornetQ REST interface only supports ObjectMessage type. If the JMS producer is aware that there may be REST consumers, it should set a JMS property to specify what Content-Type the Java object should be translated into by REST clients.
(http://docs.jboss.org/resteasy/hornetq-rest/1.0-beta-1/userguide/html_single/index.html#d0e1045)
Could this property also be supported in the Stomp interface, or is it highly coupled to the REST part?
Many thanks in advance,
Michael Justin
Stomp is a simple and public protocol: http://stomp.codehaus.org/Protocol
And it doesn't specify any ObjectMessage on it. It's all about sending and receiving messages. (i.e. ByteArrays).
Also, Stomp is multi-language, so you can't assume Java.
The rest interface is something different, that's being created by Bill Burke, so he could be more creative and add more options for users.