elsa-workflows / elsa-workflows/elsa-extensions

Mismatch between PublishMessage and Stimulus message

Open
#72 1 comment 0 reactions 0 assignees View on GitHub
triaged
Dominant language
C#
Stars
49
Forks
48
Avg merge
21h 35m
Merged PRs (30d)
20

Description

Hello,

white trying out PublishMessage activity using MassTransit over RabbitMq, I have noticed that hashes created for the registered trigger and for the stimulus (which should match the trigger's hash) are different. Here is the workflow that publishes the message:

Image

Here is the workload that receives it:

Image

Here is the definition of the message:

Image

I have also added this in the MassTransit configuration:

Image

When stopping at the breakpoint here, one hash is shown:

Image

When triggering message, stimulus has a different hash:

Image

This is caused by the names in the hash function being different, i.e. for the trigger "MessageReceived" is the used name, whereas for the stimulus, "OcrDispatchWorkflowInput" is being used.

These are the packages I am using:

Image

I wish I had time to fix this myself, but unfortunately that is not the case. Let me know if you need more details.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.