Me Meta Endpoint Plugin

This is a meta plugin that has no real protocol backing but it’s used to setup various test settings.

Configuration

The following configuration can be set:

SettingTypeDefaultDescription
LogFilestring-Path to the log file
Repeati321Number of times flow is repeated
TimeoutdurationN/AUsed to set all timeouts to the same value
CommandTimeoutduration+InfTimeout for command execution
ReceiveTimeoutduration3sHow long to wait for incoming message
SendTimeoutduration1sHow long to wait for outgoing message

Example: Log to File

You can log flow processing to file using LogFile node.

@Me {
    LogFile "/tmp/my.log"
}

Example: Configure Flow Repeat Count

In this example we’ll configure flows to run 10 times.

@Me {
    Repeat 10
}

Example: Configure Flow Repeat Count (Forever)

In this example we’ll configure flows to run forever.

@Me {
    Repeat +Inf
}

Example: Longer Timeouts

If you need different timeouts, you can increase some or all of them.

@Me {
    CommandTimeout 5s
    ReceiveTimeout 5s
    SendTimeout    2s
}

Example: All Timeouts Are Same Value

We can set all timeouts to the same value with slightly easier syntax.

@Me {
    Timeout 5s
}