Documentation
¶
Index ¶
Constants ¶
View Source
const ( CECorrelIDAttr = "correlationid" KeyRepositoryExtensions = ".kdb" )
IBM MQ target adapter constants.
Variables ¶
This section is empty.
Functions ¶
func NewConnection ¶
func NewConnection(conn ConnectionConfig, auth Auth) (ibmmq.MQQueueManager, error)
NewConnection creates the connection to IBM MQ server.
Types ¶
type Auth ¶ added in v1.14.1
type Auth struct { Username string `envconfig:"USER"` Password string `envconfig:"PASSWORD"` TLSConfig }
Auth contains IBM MQ authentication parameters.
type ConnectionConfig ¶ added in v1.14.1
type ConnectionConfig struct { QueueManager string `envconfig:"QUEUE_MANAGER"` ChannelName string `envconfig:"CHANNEL_NAME"` ConnectionName string `envconfig:"CONNECTION_NAME"` QueueName string `envconfig:"QUEUE_NAME"` }
ConnectionConfig is IBM MQ common connection parameters.
type Object ¶
type Object struct {
// contains filtered or unexported fields
}
Object is a local wrapper for IBM MQ objects required to communicate with the queue.
Click to show internal directories.
Click to hide internal directories.