Package | Description |
---|---|
com.solace.messaging |
A root API package that contains interfaces and classes for developing Java applications using
Solace PubSub Messaging Java Client
|
com.solace.messaging.config |
A package of interfaces to configure PubSub+ messages, receivers, and publishers.
|
Modifier and Type | Method and Description |
---|---|
MessagingServiceClientBuilder |
MessagingServiceClientBuilder.withConnectionRetryStrategy(RetryStrategy strategy) |
MessagingServiceClientBuilder |
MessagingServiceClientBuilder.withReconnectionRetryStrategy(RetryStrategy strategy) |
Modifier and Type | Method and Description |
---|---|
static RetryStrategy |
RetryStrategy.foreverRetry()
Creates a retry configuration strategy that set to infinitely run automatic retries with a
retry interval of 3000 milliseconds.
|
static RetryStrategy |
RetryStrategy.foreverRetry(int retryInterval)
Creates a retry configuration strategy that set to infinitely run automatic retries with the
specified retry interval (in milliseconds).
|
static RetryStrategy |
RetryStrategy.neverRetry()
Creates an instance of configuration for disabled automatic retries.
|
static RetryStrategy |
RetryStrategy.parametrizedRetry(int retries,
int retryInterval)
Creates an instance of configuration for fully configurable
RetryStrategy . |
Modifier and Type | Method and Description |
---|---|
TransportProtocolConfiguration |
TransportProtocolConfiguration.withConnectionRetryStrategy(RetryStrategy strategy)
Configures the connection-retry behavior.
|
TransportProtocolConfiguration |
TransportProtocolConfiguration.withReconnectionRetryStrategy(RetryStrategy strategy)
Configures the reconnection retry behavior.
|
Copyright 2019-2024 Solace Corporation. All rights reserved.