Class NatsStreamingConnectionTest


  • public class NatsStreamingConnectionTest
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      Tests the connection of NATS streaming server Code lifted from https://github.com/nats-io/stan.java
      • Methods inherited from class java.lang.Object

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

      • NatsStreamingConnectionTest

        public NatsStreamingConnectionTest()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        Tests the connection of NATS streaming server Code lifted from https://github.com/nats-io/stan.java
        Parameters:
        args - Input arguments
        Throws:
        java.lang.Exception - When something goes wrong