Class NatsStreamingConnectionTest

java.lang.Object
gov.usgs.earthquake.nats.NatsStreamingConnectionTest

public class NatsStreamingConnectionTest extends Object
Tests the connection of NATS streaming server
  • Constructor Details

    • NatsStreamingConnectionTest

      public NatsStreamingConnectionTest()
  • Method Details

    • main

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