public class MessagingServiceJmsSettings extends Object implements MessagingServiceConnectionSettings
| Constructor and Description |
|---|
MessagingServiceJmsSettings() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
long |
getAmqpIdleTimeout() |
Supplier<String> |
getAuthenticationRequest() |
int |
getFailoverInitialReconnectDelay() |
int |
getFailoverMaxReconnectAttempts() |
int |
getFailoverReconnectDelay() |
int |
getInitialReconnectDelay()
Deprecated.
Use
|
long |
getJmsRequestTimeout() |
int |
getMaxReconnectAttempts()
Deprecated.
Use
|
int |
getReconnectDelay()
Deprecated.
Use
|
long |
getRequestTimeout()
Deprecated.
Use
|
int |
hashCode() |
boolean |
isAmqpTraceFrame() |
void |
setAmqpIdleTimeout(long amqpIdleTimeout)
The idle timeout in milliseconds after which the connection will be
failed if the peer sends no AMQP frames.
|
void |
setAmqpTraceFrame(boolean amqpTraceFrame)
Add the option amqp.traceFrames=true to your connection URI to have the
client add a protocol tracer to Proton.
|
void |
setAuthenticationRequest(Supplier<String> authenticationRequest)
The provided authentication request will be executed before message will send to the server.This token is used for authentication.
|
void |
setFailoverInitialReconnectDelay(int failoverInitialReconnectDelay)
The amount of time the client will wait before the first attempt to
reconnect to a remote peer.
|
void |
setFailoverMaxReconnectAttempts(int failoverMaxReconnectAttempts)
The number of reconnection attempts allowed before reporting the
connection as failed to the client.
|
void |
setFailoverReconnectDelay(int failoverReconnectDelay)
Controls the delay between successive reconnection attempts, defaults to
3000 milliseconds.
|
void |
setInitialReconnectDelay(int initialReconnectDelay)
Deprecated.
Use
|
void |
setJmsRequestTimeout(long jmsRequestTimeout)
Timeout value that controls how long the client waits on completion of
various synchronous interactions, such as opening a producer or consumer,
before returning an error.
|
void |
setMaxReconnectAttempts(int maxReconnectAttempts)
Deprecated.
Use
|
void |
setReconnectDelay(int reconnectDelay)
Deprecated.
Use
|
void |
setRequestTimeout(long requestTimeout)
Deprecated.
Use
|
String |
toString() |
@Deprecated public void setMaxReconnectAttempts(int maxReconnectAttempts)
Use
setFailoverMaxReconnectAttempts(int)
instead.
maxReconnectAttempts - amount of reconnect attempts@Deprecated public int getMaxReconnectAttempts()
Use
getFailoverMaxReconnectAttempts()
instead.
public void setFailoverMaxReconnectAttempts(int failoverMaxReconnectAttempts)
failoverMaxReconnectAttempts - amount of reconnect attemptspublic int getFailoverMaxReconnectAttempts()
@Deprecated public void setInitialReconnectDelay(int initialReconnectDelay)
Use
setFailoverInitialReconnectDelay(int)
instead.
initialReconnectDelay - in milliseconds@Deprecated public int getInitialReconnectDelay()
Use
getFailoverInitialReconnectDelay()
instead.
public void setFailoverInitialReconnectDelay(int failoverInitialReconnectDelay)
failoverInitialReconnectDelay - in millisecondspublic int getFailoverInitialReconnectDelay()
@Deprecated public void setReconnectDelay(int reconnectDelay)
Use
setFailoverReconnectDelay(int)
instead.
reconnectDelay - in milliseconds@Deprecated public int getReconnectDelay()
Use
getFailoverReconnectDelay()
instead.
public void setFailoverReconnectDelay(int failoverReconnectDelay)
failoverReconnectDelay - in millisecondspublic int getFailoverReconnectDelay()
@Deprecated public long getRequestTimeout()
Use
getJmsRequestTimeout()
instead.
public long getJmsRequestTimeout()
@Deprecated public void setRequestTimeout(long requestTimeout)
Use
setJmsRequestTimeout(long)
instead.
requestTimeout - in millisecondspublic void setJmsRequestTimeout(long jmsRequestTimeout)
jmsRequestTimeout - in millisecondspublic void setAmqpIdleTimeout(long amqpIdleTimeout)
amqpIdleTimeout - in millisecondspublic long getAmqpIdleTimeout()
public boolean isAmqpTraceFrame()
public void setAuthenticationRequest(Supplier<String> authenticationRequest)
authenticationRequest - the supplier will be invoked for authentication before request event-mesh serverpublic void setAmqpTraceFrame(boolean amqpTraceFrame)
amqpTraceFrame - true if tracing should be enabled. Default: falseCopyright © 2022. All rights reserved.