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

AMQP Publisher - disable sending unwanted properties #3

Open
p-michalo opened this issue Jan 27, 2022 · 1 comment
Open

AMQP Publisher - disable sending unwanted properties #3

p-michalo opened this issue Jan 27, 2022 · 1 comment

Comments

@p-michalo
Copy link

Would it be possible to put an option (checkboxes) to be able to not send properties in the AMQP request?
In my project, I have a situation where I'm testing some functionality sending requests to rabbitMQ and the AMQP publisher sends all properties even when some are empty. When Camel is trying to fix empty properties putting there some values some random queues are created which is not expected and causing some issues later.

@vlalykin
Copy link

+1 yes, that's a problem

camel detects the need for a reply by checking for null:
boolean sendReply = properties.getReplyTo() != null;

amqp publisher stores an empty string in properties.replyTo

empty fields should not be passed

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

No branches or pull requests

3 participants