public class SessionInfo extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ALLOW_MEASURE_INCOMING_TIMESTAMP |
static String |
ALLOW_REJECT_MESSAGES |
static String |
CLIENT |
static String |
CONNECTION_NAME |
static String |
CONNECTIONS_COUNT |
static String |
CUSTOM_MESSAGE_TYPE |
static String |
DELIVERY_MODE |
static String |
DESTINATION_URI |
static String |
DURABLE_SUBSCRIPTION |
static String |
DURABLE_SUBSCRIPTION_NAME |
static String |
MASKED_TAGS |
static String |
MESSAGE_TYPE |
static String |
MESSAGING_MODE |
static String |
PUBLISH_TIMEOUT |
static String |
QUEUE_MAX_FILE_SIZE |
static String |
QUEUE_NORMAL_FILE_SIZE |
static String |
QUEUE_PERSISTENT |
static String |
QUEUE_SIZE |
static String |
SELECTOR |
static String |
SESSION_ACK_MODE |
static String |
SESSION_TYPE |
static String |
STORAGE_DIR |
static String |
STORAGE_FLUSH_MODE |
static String |
STORAGE_FLUSH_MODE_FORCE |
static String |
THREADS_PER_CONNECTION |
static String |
TIME_TO_LIVE |
static String |
TRANSACTED |
static String |
TRANSACTION_BATCH_SIZE |
Constructor and Description |
---|
SessionInfo(String sessionID) |
SessionInfo(String sessionID,
String connectionName) |
public static final String STORAGE_FLUSH_MODE_FORCE
public static final String CONNECTION_NAME
public static final String SELECTOR
public static final String SESSION_TYPE
public static final String MESSAGING_MODE
public static final String DESTINATION_URI
public static final String CLIENT
public static final String DELIVERY_MODE
public static final String TIME_TO_LIVE
public static final String TRANSACTED
public static final String TRANSACTION_BATCH_SIZE
public static final String DURABLE_SUBSCRIPTION
public static final String DURABLE_SUBSCRIPTION_NAME
public static final String MESSAGE_TYPE
public static final String CUSTOM_MESSAGE_TYPE
public static final String SESSION_ACK_MODE
public static final String STORAGE_DIR
public static final String QUEUE_NORMAL_FILE_SIZE
public static final String QUEUE_MAX_FILE_SIZE
public static final String QUEUE_SIZE
public static final String QUEUE_PERSISTENT
public static final String THREADS_PER_CONNECTION
public static final String CONNECTIONS_COUNT
public static final String PUBLISH_TIMEOUT
public static final String MASKED_TAGS
public static final String STORAGE_FLUSH_MODE
public static final String ALLOW_REJECT_MESSAGES
public static final String ALLOW_MEASURE_INCOMING_TIMESTAMP
public SessionInfo(String sessionID)
public String getSessionID()
public void setSessionID(String sessionID)
public String getConnectionName()
public void setConnectionName(String connectionName)
public String getSelector()
public void setSelector(String selector)
public String getBackUpConnectionName()
public void setBackUpConnectionName(String backUpConnectionName)
public SessionType getSessionType()
public void setSessionType(SessionType sessionType)
public MessagingMode getMessagingMode()
public void setMessagingMode(MessagingMode messagingMode)
public String getDestinationURL()
public void setDestinationURL(String destinationURL)
public boolean isTransacted()
public void setTransacted(boolean transacted)
public int getTransactionBatchSize()
public void setTransactionBatchSize(int transactionBatchSize)
public DeliveryMode getDeliveryMode()
public void setDeliveryMode(DeliveryMode deliveryMode)
public int getTimeToLive()
public void setTimeToLive(int timeToLive)
public boolean isDurableSubscription()
public void setDurableSubscription(boolean durableSubscription)
public String getDurableSubscriptionName()
public void setDurableSubscriptionName(String durableSubscriptionName)
public MessageType getMessageType()
public void setMessageType(MessageType messageType)
public String getCustomMessageType()
public void setCustomMessageType(String customMessageType)
public SessionAckMode getSessionAckMode()
public void setSessionAckMode(SessionAckMode sessionAckMode)
public String getStorageDir()
public void setStorageDir(String storageDir)
public long getQueueNormalFileSize()
public void setQueueNormalFileSize(long queueNormalFileSize)
public long getQueueMaxFileSize()
public void setQueueMaxFileSize(long queueMaxFileSize)
public boolean isQueuePersistent()
public void setQueuePersistent(boolean queuePersistent)
public int getQueueSize()
public void setQueueSize(int queueSize)
public int getThreadPerConnection()
public void setThreadPerConnection(int threadPerConnection)
public int getConnectionCount()
public void setConnectionCount(int connectionCount)
public void setPublishTimeout(long publishTimeout)
public long getPublishTimeout()
public boolean isStorageForcedFlush()
public void setStorageForcedFlush(boolean isStorageForcedFlush)
public boolean isEnableRejectMessages()
public void setEnableRejectMessages(boolean enableRejectMessages)
public boolean isAllowMeasureIncomingTimestamp()
public void setAllowMeasureIncomingTimestamp(boolean allowMeasureIncomingTimestamp)
protected SessionInfo parseSessionInfo(String prefix, Properties properties)
prefix
- properties
- public StringBuilder toString(StringBuilder stringBuffer)
Copyright © 2000–2022 EPAM Systems. All rights reserved.