elsa-workflows / elsa-workflows/elsa-extensions
Mismatch between PublishMessage and Stimulus message
- 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:
Here is the workload that receives it:
Here is the definition of the message:
I have also added this in the MassTransit configuration:
When stopping at the breakpoint here, one hash is shown:
When triggering message, stimulus has a different hash:
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:
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
Assessment
This issue has not been assessed yet.