azureservicebussource

package
v1.27.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: Apache-2.0 Imports: 25 Imported by: 1

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