Record: ConnectionConfiguration

Configurations related to initializing the NATS client and listener.

Closed record

Fields

  • connectionName string(default "ballerina-nats")
  • The name of the connection

  • retryConfig RetryConfig?
  • The configurations related to connection reconnect attempts

  • ping Ping?
  • The configurations related to pinging the server

  • auth Credentials | Tokens?
  • The configurations related to authentication

  • inboxPrefix string(default "_INBOX.")
  • The connection's inbox prefix, which all inboxes will start with

  • noEcho boolean(default false)
  • Turns off echoing. This prevents the server from echoing messages back to the connection if it has subscriptions on the subject being published to

  • secureSocket SecureSocket?
  • The configurations related to SSL/TLS