gregbugaj/hoplin.io

Unable to set BasicProperty while using publish with MessageConfiguration

gregbugaj opened this issue · 1 comments

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");
    });