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 Node): Fix issue with arguments not being sent #9397

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

Conversation

Joffcom
Copy link
Member

@Joffcom Joffcom commented May 14, 2024

Summary

Arguments set were ignored, this adds them and assumes they will be in the amqplib Options.Publish format, Tested with RMQ 3.12.11 using contentType and persistent as test values.

image

RMQ Management UI
image

Related tickets and issues

#2806
https://linear.app/n8n/issue/NODE-1031
https://community.n8n.io/t/rabbitmq-priority-queues/46596

@n8n-assistant n8n-assistant bot added n8n team Authored by the n8n team node/improvement New feature or request labels May 14, 2024
@Joffcom Joffcom changed the title fix(RabbitMQ Node): Fix issue with arguments not being to queues fix(RabbitMQ Node): Fix issue with arguments not being sent May 29, 2024
Comment on lines +461 to +462
...(options.arguments as Options.Publish),
}),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will throw error if options.arguments undefined

Comment on lines +533 to +534
...(options.arguments as Options.Publish),
}),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here, we need to guard this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
n8n team Authored by the n8n team node/improvement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants