Working with Bundles in Java

An example that demonstrates how to work with bundles in Java.

Name

Example_12_WorkingWithMessageBundles

Description

This example illustrates how to create, retrieve, and process messages as part of a bundle.

Notable Classes and Methods

MessageBundle

mf.newMessageBundle

bundle.getMessages()

if (msg instanceof Tuple)

Subscription.FLATTEN_BUNDLES

subscription.getNextMessage

bundle.getSize()

Related Information

For more information about bundles, see Bundles.