vertx / io.vertx.amqpbridge / AmqpBridge / createProducer

# createProducer

`abstract fun <T : Any> createProducer(amqpAddress: String): MessageProducer<T>`

Creates a producer to 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.

### Parameters

`amqpAddress` - the address to produce to

### Exceptions

`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 producer