@@ -535,6 +535,17 @@ public Queue.BindOk queueBind(int ticket, String queue, String exchange,
535535 false , arguments )).getMethod ();
536536 }
537537
538+ /**
539+ * Public API - Bind a queue to an exchange, with no extra arguments.
540+ * @see com.rabbitmq.client.AMQP.Queue.Bind
541+ * @see com.rabbitmq.client.AMQP.Queue.BindOk
542+ */
543+ public Queue .BindOk queueBind (int ticket , String queue , String exchange , String routingKey )
544+ throws IOException
545+ {
546+ return queueBind (ticket , queue , exchange , routingKey , null );
547+ }
548+
538549 /**
539550 * Public API - Unbind a queue from an exchange.
540551 * @see com.rabbitmq.client.AMQP.Queue.Unbind
@@ -549,17 +560,6 @@ public Queue.UnbindOk queueUnbind(String queue, String exchange, String routingK
549560 arguments , false )).getMethod ();
550561 }
551562
552- /**
553- * Public API - Bind a queue to an exchange, with no extra arguments.
554- * @see com.rabbitmq.client.AMQP.Queue.Bind
555- * @see com.rabbitmq.client.AMQP.Queue.BindOk
556- */
557- public Queue .BindOk queueBind (int ticket , String queue , String exchange , String routingKey )
558- throws IOException
559- {
560- return queueBind (ticket , queue , exchange , routingKey , null );
561- }
562-
563563 /**
564564 * Public API - Unbind a queue from an exchange, with no extra arguments.
565565 * @see com.rabbitmq.client.AMQP.Queue.Unbind
0 commit comments