Skip to content

Commit

Permalink
Fix queue name matching on workflow onMessage event
Browse files Browse the repository at this point in the history
  • Loading branch information
petergrlica committed Mar 1, 2022
1 parent 96c335e commit 465e8ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/service/event/queue.go
Expand Up @@ -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)
}

Expand Down

0 comments on commit 465e8ff

Please sign in to comment.