ibmmqsource

package
v1.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnvAccessorCtor

func EnvAccessorCtor() pkgadapter.EnvConfigAccessor

EnvAccessorCtor for configuration parameters

func NewAdapter

NewAdapter returns adapter implementation

Types

type SourceDeliveryConfig

type SourceDeliveryConfig struct {
	DeadLetterQManager string `envconfig:"DEAD_LETTER_QUEUE_MANAGER"`
	DeadLetterQueue    string `envconfig:"DEAD_LETTER_QUEUE"`
	BackoffDelay       int    `envconfig:"BACKOFF_DELAY"`
	Retry              int    `envconfig:"DELIVERY_RETRY"`
}

SourceDeliveryConfig holds the delivery parameters used in the source.

type SourceEnvAccessor

type SourceEnvAccessor struct {
	pkgadapter.EnvConfig
	mq.EnvConnectionConfig
	SourceDeliveryConfig

	// BridgeIdentifier is the name of the bridge workflow this source is part of
	BridgeIdentifier string `envconfig:"EVENTS_BRIDGE_IDENTIFIER"`
}

SourceEnvAccessor is the set of parameters parsed from the adapter's env.

func (*SourceEnvAccessor) Delivery

func (e *SourceEnvAccessor) Delivery() *mq.Delivery

Delivery returns the MQ delivery parameters.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL