You can use the OmmConsumerConfig class to customize the functionality of the OmmConsumer class. The default behavior of OmmConsumer is hard coded in the OmmConsumerConfig class. You can configure OmmConsumer in any of the following ways:
• Using the EmaConfig.xml file
• Using interface methods on the OmmConsumerConfig class
• Passing OMM-formatted configuration data through the OmmConsumerConfig::config( const Data& ) method.
For more details on using the OmmConsumerConfig class and associated configuration parameters, refer to the Enterprise Message API Configuration Guide.