activemq

package
v0.29.1 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dynamic added in v0.28.0

func Dynamic(opts *cli.Options) error

Dynamic starts up a new GRPC client connected to the dProxy service and receives a stream of outbound replay messages which are then written to the message bus.

func NewClient

func NewClient(opts *cli.Options) (*stomp.Conn, error)

NewClient returns a configured instance of stomp.Conn

func Read

func Read(opts *cli.Options, md *desc.MessageDescriptor) error

func Write

func Write(opts *cli.Options, md *desc.MessageDescriptor) error

Types

type ActiveMq

type ActiveMq struct {
	Options *cli.Options
	Client  *stomp.Conn
	MsgDesc *desc.MessageDescriptor
	// contains filtered or unexported fields
}

func (*ActiveMq) Read

func (a *ActiveMq) Read() error

func (*ActiveMq) Write

func (a *ActiveMq) Write(value []byte) error

Write writes a message to an ActiveMQ topic

Jump to

Keyboard shortcuts

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