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:
| Setting | Type | Default | Description |
|---|---|---|---|
| LogFile | string | - | Path to the log file |
| Repeat | i32 | 1 | Number of times flow is repeated |
| Timeout | duration | N/A | Used to set all timeouts to the same value |
| CommandTimeout | duration | +Inf | Timeout for command execution |
| ReceiveTimeout | duration | 3s | How long to wait for incoming message |
| SendTimeout | duration | 1s | How 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
}