Interface PublisherBuilder
- All Superinterfaces:
AddressBuilder<PublisherBuilder>
API to configure and create a
Publisher.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Build the configured instance.listeners(Resource.StateListener... listeners) AddResource.StateListeners to the consumer.publishTimeout(Duration timeout) The timeout to wait for a response from the broker.Methods inherited from interface AddressBuilder
exchange, key, queue
-
Method Details
-
listeners
AddResource.StateListeners to the consumer.- Parameters:
listeners- listeners- Returns:
- this builder instance
-
publishTimeout
The timeout to wait for a response from the broker.- Parameters:
timeout- publish timeout- Returns:
- this builder instance
-
build
-