@ConfigurationProperties(value="gcp.pubsub")
public class PubSubConfigurationProperties
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PREFIX |
Constructor and Description |
---|
PubSubConfigurationProperties() |
Modifier and Type | Method and Description |
---|---|
int |
getKeepAliveIntervalMinutes()
How often to ping the server to keep the channel alive.
|
java.lang.String |
getPublishingExecutor() |
java.lang.String |
getSubscribingExecutor() |
void |
setKeepAliveIntervalMinutes(int keepAliveIntervalMinutes)
How often to ping the server to keep the channel alive.
|
void |
setPublishingExecutor(java.lang.String publishingExecutor) |
void |
setSubscribingExecutor(java.lang.String subscribingExecutor) |
public static final java.lang.String PREFIX
public java.lang.String getPublishingExecutor()
ScheduledExecutorService
to be used by all Publisher
instances. Default: "scheduled"public void setPublishingExecutor(java.lang.String publishingExecutor)
publishingExecutor
- Name of the ScheduledExecutorService
to be used by all Publisher
instances. Default: "scheduled"public java.lang.String getSubscribingExecutor()
ScheduledExecutorService
to be used by all Subscriber
instances. Default: "scheduled"
Defaults to "scheduled"public void setSubscribingExecutor(java.lang.String subscribingExecutor)
subscribingExecutor
- Name of the ScheduledExecutorService
to be used by all Subscriber
instances. Default: "scheduled"public int getKeepAliveIntervalMinutes()
public void setKeepAliveIntervalMinutes(int keepAliveIntervalMinutes)
keepAliveIntervalMinutes
-