3
0

Fix queue name matching on workflow onMessage event

This commit is contained in:
Peter Grlica 2022-01-20 15:41:00 +01:00
parent 96c335e9f4
commit 465e8ffe69

View File

@ -14,7 +14,7 @@ func (res queueBase) Match(c eventbus.ConstraintMatcher) bool {
func queueMatch(r *types.QueueMessage, c eventbus.ConstraintMatcher) bool {
switch c.Name() {
case "message.queue":
case "payload.queue":
return c.Match(r.Queue)
}