abstract fun <T : Any> createConsumer(amqpAddress: String): MessageConsumer<T>
Creates a consumer on the given AMQP address. This method MUST be called from the bridge Context thread, as used in the result handler callback from the start methods. The bridge MUST be successfully started before the method is called.
amqpAddress - the address to consume from
IllegalStateException - if the bridge was not started or the method is invoked on a thread other than the bridge Context thread, as used in the result handler callback from the start methods.
Return
the consumer