when

package
v0.0.0-...-3bd0da9 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OptionFn

type OptionFn func(*When)

func WithExpression

func WithExpression(lang language.Language) OptionFn

func WithProcessor

func WithProcessor(processor camel.Processor) OptionFn

func WithStep

func WithStep(step processors.Step) OptionFn

type When

type When struct {
	processors.DefaultStepsVerticle `yaml:",inline"`
	language.Language               `yaml:",inline"`

	PID *actor.PID
	// contains filtered or unexported fields
}

func New

func New(opts ...OptionFn) *When

func (*When) Matches

func (w *When) Matches(ctx context.Context, msg camel.Message) (bool, error)

func (*When) Reify

func (w *When) Reify(ctx context.Context) (camel.Verticle, error)

Jump to

Keyboard shortcuts

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