@ProviderType public interface MessagePublisherBuilder extends PublisherBackPressureConfiguration, PublisherPropertyConfiguration
| Modifier and Type | Method and Description |
|---|---|
MessagePublisherBuilder |
fromProperties(Properties configuration)
Enables property-based configuration.
|
onBackPressureElastic, onBackPressureReject, onBackPressureWaitMessagePublisherBuilder fromProperties(Properties configuration) throws IllegalArgumentException
PropertyBasedConfigurationNote: callbacks are not expected to be configurable using this approach, callbacks are expected to be configured programmatically.
fromProperties in interface PropertyBasedConfigurationfromProperties in interface PublisherPropertyConfigurationconfiguration - the properties (key of type String and value of type String) for configuration and fine-tuning. Common properties can be found
in SolaceProperties and its sub-interfaces.IllegalArgumentException - if invalid properties were specifiedCopyright 2019-2022 Solace Corporation. All rights reserved.