Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
Could you please give us an example of what you are trying to achieve. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
It's the same way that any other data is converted to XML in Message Broker.
Use the Getters of the java object to retrieve the field values.
Construct a Logical Message Tree in the XMLNSC domain out of MbElement objects, and set the values of the right field into the right MbElement.
If you have Java objects in the first place, you are already deep in a JavaCompute node, and so you presumably already have a Java programmer handy. This is basic programming, with a very slight effort needed to understand the Mb Java API.
Or your Java architects have done something horribly and created ObjectMessages in JMS that they have written to a queue.
ObjectMessages are extremely bad practice, and are unportable in general.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum