azservicebus

package
v0.1.63 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAdapter

NewAdapter satisfies pkgadapter.AdapterConstructor.

func NewEnvConfig

func NewEnvConfig() pkgadapter.EnvConfigAccessor

NewEnvConfig satisfies pkgadapter.EnvConfigConstructor.

Types

type Message

type Message struct {
	*azservicebus.ReceivedMessage
	LockToken *string
}

Message is a servicebus.ReceivedMessage with some selected fields shadowed for improved serialization.

type MessageProcessor

type MessageProcessor interface {
	Process(*Message) ([]*cloudevents.Event, error)
}

MessageProcessor converts an Service Bus message to a CloudEvent.

type MessageWithRawJSONData

type MessageWithRawJSONData struct {
	Body json.RawMessage
	*Message
}

MessageWithRawJSONData is an ReceivedMessage with RawMessage-typed JSON data.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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