Class MamaPublisherJava


  • 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).
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MamaPublisherJava

        public MamaPublisherJava()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException