{"action":"created","issue":{"url":"https://api.github.com/repos/vert-x3/vertx-rabbitmq-client/issues/28","repository_url":"https://api.github.com/repos/vert-x3/vertx-rabbitmq-client","labels_url":"https://api.github.com/repos/vert-x3/vertx-rabbitmq-client/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/vert-x3/vertx-rabbitmq-client/issues/28/comments","events_url":"https://api.github.com/repos/vert-x3/vertx-rabbitmq-client/issues/28/events","html_url":"https://github.com/vert-x3/vertx-rabbitmq-client/issues/28","id":188724873,"number":28,"title":"channel.queueBind(..,..,..,Map<S,O>) missing, needed for use of 'headers' exchange","user":{"login":"Robin479","id":7469505,"avatar_url":"https://avatars.githubusercontent.com/u/7469505?v=3","gravatar_id":"","url":"https://api.github.com/users/Robin479","html_url":"https://github.com/Robin479","followers_url":"https://api.github.com/users/Robin479/followers","following_url":"https://api.github.com/users/Robin479/following{/other_user}","gists_url":"https://api.github.com/users/Robin479/gists{/gist_id}","starred_url":"https://api.github.com/users/Robin479/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Robin479/subscriptions","organizations_url":"https://api.github.com/users/Robin479/orgs","repos_url":"https://api.github.com/users/Robin479/repos","events_url":"https://api.github.com/users/Robin479/events{/privacy}","received_events_url":"https://api.github.com/users/Robin479/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-11T10:00:31Z","updated_at":"2016-11-14T09:31:30Z","closed_at":null,"body":"In order to properly use a `headers` exchange, you need to pass a proper configuration during queue binding. This is currently not possible, since the `RabbitMQClient` wrapper doesn't delegate to `com.rabbitmq.client.Channel.queueBind(String, String, String, Map<String, Object>)`.\r\n\r\nIt should be fairly simple to implement, since this method is only an overload to `com.rabbitmq.client.Channel.queueBind(String, String, String)`, which the wrapper already delegates to. In fact, if you look at the upstream implementation, the later method internally calls the former one, passing `null` for the `Map<String, Object>` parameter.\r\n\r\nPlease, add this part to the `RabbitMQClientImpl` (and the matching definition to `RabbitMQClient`):\r\n```\r\n  @Override\r\n  public void queueBind(String queue, String exchange, String routingKey, JsonObject arguments, Handler<AsyncResult<Void>> resultHandler) {\r\n    forChannel(resultHandler, channel -> {\r\n      channel.queueBind(queue, exchange, routingKey, Utils.asMap(arguments));\r\n      return null;\r\n    });\r\n  }\r\n```"},"comment":{"url":"https://api.github.com/repos/vert-x3/vertx-rabbitmq-client/issues/comments/260287765","html_url":"https://github.com/vert-x3/vertx-rabbitmq-client/issues/28#issuecomment-260287765","issue_url":"https://api.github.com/repos/vert-x3/vertx-rabbitmq-client/issues/28","id":260287765,"user":{"login":"poiuytrez","id":1167433,"avatar_url":"https://avatars.githubusercontent.com/u/1167433?v=3","gravatar_id":"","url":"https://api.github.com/users/poiuytrez","html_url":"https://github.com/poiuytrez","followers_url":"https://api.github.com/users/poiuytrez/followers","following_url":"https://api.github.com/users/poiuytrez/following{/other_user}","gists_url":"https://api.github.com/users/poiuytrez/gists{/gist_id}","starred_url":"https://api.github.com/users/poiuytrez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poiuytrez/subscriptions","organizations_url":"https://api.github.com/users/poiuytrez/orgs","repos_url":"https://api.github.com/users/poiuytrez/repos","events_url":"https://api.github.com/users/poiuytrez/events{/privacy}","received_events_url":"https://api.github.com/users/poiuytrez/received_events","type":"User","site_admin":false},"created_at":"2016-11-14T09:31:30Z","updated_at":"2016-11-14T09:31:30Z","body":"Do you have the time to submit a pull request? "}}
{"actor":{"display_login":"poiuytrez"}}