Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SecondaryAcceptor

Secondary remote server that accepts a connection from a primary server.

This type accepts a connection from a PrimaryInitiator with the same name configured at the primary server (cluster).

Use a SecondaryAcceptorBuilder to create an instance of this type.

Hierarchy

Index

Properties

connectionOptions

connectionOptions: ConnectionOptions

The remote server connection options.

Optional missingTopicNotificationFilter

missingTopicNotificationFilter: undefined | string

The missing topic notification filter expression.

name

name: string

The name of the remote server.

primaryHostName

primaryHostName: string

The hostname of the expected primary server, for secure WebSocket validation.

principal

principal: string

The principal used for connection.

type

The remote server type.

A RemoteServer can be cast to the corresponding sub-type to access all methods, as follows:

Type Type class
SECONDARY_INITIATOR SecondaryInitiator
PRIMARY_INITIATOR PrimaryInitiator
SECONDARY_ACCEPTOR SecondaryAcceptor

url

url: string

The url used for connection to the remote server.

deprecated

since 6.9

For backwards compatibility this property is retained for secondary initiator compatibility but will be removed at a future release.