We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 77e1fe4 + 8b15b1c commit 7aec71bCopy full SHA for 7aec71b
1 file changed
Core/Processors/ControlFlow/DelayInterceptor.php
@@ -53,7 +53,7 @@ protected function doProcess(Exchange $exchange, SerializableArray $processingCo
53
{
54
$delayPeriodInSeconds = $exchange->getIn()->getHeader('delay') ?? null;
55
56
- if (!is_null($delayPeriodInSeconds)) {
+ if (!is_null($delayPeriodInSeconds) && (int) $delayPeriodInSeconds > 0) {
57
throw new DelayException();
58
}
59
0 commit comments