CreateConnectionContextBaseParameters interface

Describes the parameters that can be provided to create the base connection context.

Properties

config

The connection config that is created by parsing the connection string.

connectionProperties

Properties to be provided while creating the AMQP connection.

dataTransformer

The datatransformer to be used for encoding and decoding messages. Default value: DefaultDataTransformer

isEntityPathRequired

Determines whether entity path should be a part of the connection config. If true it must be present, false otherwise. Default value false.

operationTimeoutInSeconds

The duration in which the promise should complete (resolve/reject). If it is not completed, then the Promise will be rejected after timeout occurs. Default: 60 seconds.

tokenProvider

The token provider to be used for Authentication. Default value: SasTokenProvider.

Property Details

config

The connection config that is created by parsing the connection string.

config: ConnectionConfig

Property Value

connectionProperties

Properties to be provided while creating the AMQP connection.

connectionProperties: ConnectionProperties

Property Value

dataTransformer

The datatransformer to be used for encoding and decoding messages. Default value: DefaultDataTransformer

dataTransformer?: DataTransformer

Property Value

isEntityPathRequired

Determines whether entity path should be a part of the connection config. If true it must be present, false otherwise. Default value false.

isEntityPathRequired?: boolean

Property Value

boolean

operationTimeoutInSeconds

The duration in which the promise should complete (resolve/reject). If it is not completed, then the Promise will be rejected after timeout occurs. Default: 60 seconds.

operationTimeoutInSeconds?: number

Property Value

number

tokenProvider

The token provider to be used for Authentication. Default value: SasTokenProvider.

tokenProvider?: TokenProvider

Property Value