Documentation ¶
Index ¶
- Constants
- Variables
- type ActiveMQ
- func (a *ActiveMQ) Close(_ context.Context) error
- func (a *ActiveMQ) DisplayError(msg *records.ErrorRecord) error
- func (a *ActiveMQ) DisplayMessage(cliOpts *opts.CLIOptions, msg *records.ReadRecord) error
- func (a *ActiveMQ) Dynamic(ctx context.Context, dynamicOpts *opts.DynamicOptions, ...) error
- func (a *ActiveMQ) Name() string
- func (a *ActiveMQ) Read(ctx context.Context, readOpts *opts.ReadOptions, ...) error
- func (a *ActiveMQ) Relay(ctx context.Context, relayOpts *opts.RelayOptions, relayCh chan interface{}, ...) error
- func (a *ActiveMQ) Test(_ context.Context) error
- func (a *ActiveMQ) Write(ctx context.Context, writeOpts *opts.WriteOptions, ...) error
Constants ¶
View Source
const BackendName = "activemq"
Variables ¶
View Source
var ( ErrTopicOrQueue = errors.New("you must specify either topic or queue") ErrTopicAndQueue = errors.New("you must only specify either a topic or a queue") )
Functions ¶
This section is empty.
Types ¶
type ActiveMQ ¶ added in v1.0.0
type ActiveMQ struct {
// contains filtered or unexported fields
}
func (*ActiveMQ) DisplayError ¶ added in v1.0.0
func (a *ActiveMQ) DisplayError(msg *records.ErrorRecord) error
DisplayError will parse an Error record and print (pretty) output to STDOUT
func (*ActiveMQ) DisplayMessage ¶ added in v1.0.0
func (a *ActiveMQ) DisplayMessage(cliOpts *opts.CLIOptions, msg *records.ReadRecord) error
DisplayMessage will parse a Read record and print (pretty) output to STDOUT
func (*ActiveMQ) Read ¶ added in v1.0.0
func (a *ActiveMQ) Read(ctx context.Context, readOpts *opts.ReadOptions, resultsChan chan *records.ReadRecord, errorChan chan *records.ErrorRecord) error
func (*ActiveMQ) Relay ¶ added in v1.0.0
func (a *ActiveMQ) Relay(ctx context.Context, relayOpts *opts.RelayOptions, relayCh chan interface{}, errorCh chan *records.ErrorRecord) error
func (*ActiveMQ) Write ¶ added in v1.0.0
func (a *ActiveMQ) Write(ctx context.Context, writeOpts *opts.WriteOptions, errorCh chan *records.ErrorRecord, messages ...*records.WriteRecord) error
Click to show internal directories.
Click to hide internal directories.