Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: RabbitMQ executor configuration/payload validation #1680

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

xBlaz3kx
Copy link

@xBlaz3kx xBlaz3kx commented Mar 7, 2025

Seems like there was a discrepancy in the RabbitMQ executor payload validation and actual implementation for publishing base64 encoded bodies.

Validation prevented both the unencoded body and base64 encoded body to be set, but in when publishing, it checked the wrong attribute. This could allow both the message.body and "message.base64Body" to be set and still publish the message.

Also:

  • Added logs to RabbitMQ executor
  • Added test cases for configuration validation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant