Annotation Type EnableNatsStreamingServer

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String binaryFile
      File to nats server binary so no download will be needed
      String[] config
      Passes the original parameters to NatsStreaming.config(String...) for startup NatsStreamingConfig
      String configFile
      Config file
      String downloadUrl
      Custom download URL
      int port
      Sets nats port -1 means random port
      long timeoutMs
      Defines the startup and teardown timeout
    • Element Detail

      • port

        int port
        Sets nats port -1 means random port
        Default:
        4222
      • timeoutMs

        long timeoutMs
        Defines the startup and teardown timeout
        Default:
        10000L
      • configFile

        String configFile
        Config file
        Default:
        ""
      • downloadUrl

        String downloadUrl
        Custom download URL
        Default:
        ""
      • binaryFile

        String binaryFile
        File to nats server binary so no download will be needed
        Default:
        ""
      • config

        String[] config
        Passes the original parameters to NatsStreaming.config(String...) for startup NatsStreamingConfig
        Default:
        {}