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

Unable to set BasicProperty while using publish with MessageConfiguration #8

Open
gregbugaj opened this issue Feb 17, 2021 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@gregbugaj
Copy link
Owner

gregbugaj commented Feb 17, 2021

Publish method that exposes MessageConfiguration consumer does not expose method to add / configure BasicProperties of the message.

    final ExchangeClient client = ExchangeClient.header(options(), EXCHANGE);
    client.publish(createMessage("info"), cfg ->
    {
      // cfg.addBasisProperty("property-x", "info");

      cfg.addHeader("type", "info");
      cfg.addHeader("category", "service-xyz");
    });
@gregbugaj gregbugaj added the bug Something isn't working label Feb 17, 2021
@gregbugaj gregbugaj added this to the 1.1.6 Release milestone Feb 17, 2021
@gregbugaj gregbugaj assigned gregbugaj and unassigned gregbugaj Feb 17, 2021
@create-issue-branch
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant