See information about the latest product version
Processing message body data by using JAXB Java object classes
Use the JAXB object classes generated by a Java™ Architecture for XML Binding (JAXB) compiler by using the JAXB class template.
- Create your JAXB Java object classes; see Creating JAXB Java object classes.
- Add a JavaCompute node to your message flow; see JavaCompute node.
JAXB Java object classes are a Java object representation of your message, and can be used with Java code completion. The Process via JAXB class template in the New Java Compute Node Class wizard generates template code for processing your messages by using JAXB Java object classes. If you also used the New Java Compute Node Class wizard either to generate your JAXB Java object classes, or to reference your existing JAXB Java object classes, step 1 might be completed for you.
For more information about using JAXB in your messaging solutions, see the JavaCompute Node JAXB Transformation sample.
You can view information about samples only when you use the information center that is integrated with the WebSphere Message Broker Toolkit or the online information center. You can run samples only when you use the information center that is integrated with the WebSphere Message Broker Toolkit.
To process message body data by using JAXB Java object classes, complete the following steps:
- You can use the unit test client to test the message flow; see Testing a message flow.