public interface MessageConnectorMBean
MessageConnector
exposes via JMX.Modifier and Type | Method and Description |
---|---|
String |
getAddress()
Address string of connector.
|
int |
getConnectionCount()
Number of established connections
|
String |
getEndpointStats()
Endpoint statistics since last reset
|
String |
getFieldReplacer()
Returns configured input field replacers.
|
String |
getName()
Name of connector.
|
String |
getPassword()
User password for authorization.
|
long |
getReconnectDelay()
Delay between reconnection attempts in milliseconds
|
MessageConnectorState |
getState()
State of connector.
|
int |
getThreadPriority()
Priority for threads associated with this connector
|
String |
getUser()
User login name
Returns connector's user name for authorization.
|
boolean |
isActive()
True when connector is active (started).
|
void |
reconnect()
Reconnects connector.
|
void |
resetEndpointStats()
Resets endpoint statistics
|
void |
restart()
Restarts connector (connection is immediately dropped and established again).
|
com.devexperts.transport.stats.EndpointStats |
retrieveCompleteEndpointStats()
Retrieves endpoint statistics for this message connector since its creation
|
void |
setFieldReplacer(String fieldReplacer)
Sets input field replacers.
|
void |
setName(String name)
Sets connector's short name for logging and monitoring.
|
void |
setPassword(String password)
Sets password for authorization.
|
void |
setReconnectDelay(long delay)
Sets reconnection delay.
|
void |
setThreadPriority(int priority)
Sets thread priority for all threads created by this connector.
|
void |
setUser(String user)
Sets connector's user name for authorization.
|
void |
start()
Starts connector (connection is immediately established).
|
void |
stop()
Stops connector (connection is immediately dropped).
|
String getAddress()
void start()
void stop()
void restart()
void reconnect()
boolean isActive()
MessageConnectorState getState()
String getName()
void setName(String name)
name
- connector's new short name for logging and monitoringString getUser()
void setUser(String user)
user
- connector's user name for authorization.NullPointerException
- if user is nullString getPassword()
void setPassword(String password)
password
- password for authorization.NullPointerException
- if password is nullint getConnectionCount()
int getThreadPriority()
void setThreadPriority(int priority)
priority
- thread priority for all threads created by this connectorlong getReconnectDelay()
void setReconnectDelay(long delay)
delay
- reconnection delayString getEndpointStats()
resetEndpointStats()
.void resetEndpointStats()
com.devexperts.transport.stats.EndpointStats retrieveCompleteEndpointStats()
String getFieldReplacer()
void setFieldReplacer(String fieldReplacer)
fieldReplacer
- field replacers specification.Copyright © 2002–2025 Devexperts LLC. All rights reserved.