public class MamaPublisherJava
extends java.lang.Object
This sample application demonstrates how to publish mama messages, and
respond to requests from a clients inbox.
It accepts the following command line arguments:
[-s topic] The topic on which to send messages. Default value
is "MAMA_TOPIC".
[-l topic] The topic on which to listen for inbound requests.
Default is "MAMA_INBOUND_TOPIC".
[-i interval] The interval between messages .Default, 0.5.
[-tport name] The transport parameters to be used from
mama.properties.
[-q] Quiet mode. Suppress output.
[-c number] How many messages to publish (default infinite).