AmqpClient.createReceiver

Creates a receiver used to consumer messages from the given address. This method avoids having to connect explicitly. You can retrieve the connection using {@link AmqpReceiver#connection()}.

@param address The source address to attach the consumer to. @param receiverOptions The options for this receiver. @param completionHandler The handler called with the receiver, once opened. Note that the {@code messageHandler} can be called before the {@code completionHandler} if messages are awaiting delivery. @return the connection.

  1. AmqpClient createReceiver(string address, Handler!AmqpReceiver completionHandler)
  2. AmqpClient createReceiver(string address, AmqpReceiverOptions receiverOptions, Handler!AmqpReceiver completionHandler)
    interface AmqpClient

Meta