client/src/main/java/io/hoplin/HeaderExchangeClient.java
/**
   * Create new {@link HeaderExchangeClient}
   *
   * @param options  the connection options to use
   * @param exchange the exchange to use
   * @return
   */
Create new  HeaderExchangeClient
@param options  the connection options to use
@param exchange the exchange to use
@return
Create new HeaderExchangeClient @param options the connection options to use @param exchange the exchange to use @return
public static ExchangeClient create(final RabbitMQOptions options, final String exchange) {
    Objects.requireNonNull(options);
    Objects.requireNonNull(exchange);
    final Binding binding = BindingBuilder
        .bind()
        .to(new HeaderExchange(exchange))
        .build();
    return create(options, binding);
  }
public static ExchangeClient create ( final RabbitMQOptions options , final String exchange ) { Objects . requireNonNull ( options ) ; Objects . requireNonNull ( exchange ) ; final Binding binding = BindingBuilder . bind ( ) . to ( new HeaderExchange ( exchange ) ) . build ( ) ; return create ( options , binding ) ; }
Create new {@link HeaderExchangeClient}
 @param options  the connection options to use
 @param exchange the exchange to use
 @return
Create new { @link HeaderExchangeClient } @param options the connection options to use @param exchange the exchange to use @return
// Producer does not bind to the queue only to the exchange when using HeaderExchange