[jboss-dev-forums] [Design of JBoss ESB] - New message payload types
mark.little@jboss.com
do-not-reply at jboss.com
Mon Jul 30 18:03:56 EDT 2007
Back here Bill asked the question about richer message structures than had at the time. Well we've introduced a few new message payload types and updated the programmer's guide accordingly.
The types are:
(i) BytesMessage - a structured byte stream.
(ii) ObjectMessage - a serialized Java object.
(iii) TextMessage - a String.
(iv) MapMessage - a tuple space <attribute, value) pairs.
(v) ControlMessage - reserved for internal ESB control messages.
These are essentially just different views on to the underlying Message payload, but may make it easier to work with/conceptualize complex data structures within the Message. They can all be accessed through the Payload class.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068926#4068926
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068926
More information about the jboss-dev-forums
mailing list