public class SolConnectionFactoryImpl extends Object implements SolConnectionFactory, Serializable, Cloneable
| Constructor and Description |
|---|
SolConnectionFactoryImpl() |
SolConnectionFactoryImpl(JMSProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
Connection |
createConnection()
Creates a connection with the default user identity.
|
Connection |
createConnection(String userName,
String password)
Creates a connection with the specified user identity.
|
QueueConnection |
createQueueConnection()
Creates a queue connection with the default user identity.
|
QueueConnection |
createQueueConnection(String userName,
String password)
Creates a queue connection with the specified user identity.
|
TopicConnection |
createTopicConnection()
Creates a topic connection with the default user identity.
|
TopicConnection |
createTopicConnection(String userName,
String password)
Creates a topic connection with the specified user identity.
|
boolean |
equals(Object obj) |
void |
fromJNDIProperties(JNDIObject obj) |
void |
fromProperties(Properties properties)
Sets the properties based on values in a
Properties instance. |
Boolean |
getAllowDuplicateClientId()
This property specifies whether a duplicate client ID is allowed.
|
String |
getAuthenticationScheme()
This property specifies the authentication scheme.
|
Integer |
getBrowserTimeoutInMS()
This property specifies the maximum time in milliseconds for a
QueueBrowser Enumeration.hasMoreElements() to wait
for a message to arrive in the browser's local message buffer before returning. |
Boolean |
getCallbackOnIOThread()
This property specifies whether to call MessageListeners directly from the IO thread.
|
String |
getClientDescription()
This property is used to specify the application description on the appliance for the data connection.
|
String |
getClientID()
This property is used to specify the client name on the appliance for the data connection.
|
Integer |
getCompressionLevel()
This property is used to enable and specify the ZLIB compression level.
|
Integer |
getConnectRetries()
This property is used to specify the total number of times to attempt
and retry a connection when establishing an initial connection
for a Session to a host router.
|
Integer |
getConnectRetriesPerHost()
This property is used to specify the number of times to
retry data connection attempts to a single host before moving on to the next host
in the list.
|
Integer |
getConnectTimeoutInMillis()
This property is used to specify the timeout in milliseconds on a data connection attempt.
|
Boolean |
getDeliverToOne()
This property specifies whether sent messages are deliver to one.
|
Boolean |
getDeliverToOneOverride()
This property specifies whether to override deliver to one settings.
|
Integer |
getDeliveryMode()
This property specifies the delivery mode for sent messages.
|
Boolean |
getDirectOptimized()
This property specifies whether to optimize the API for direct transport.
|
Boolean |
getDirectTransport()
This property specifies whether to use direct transport for non-persistent messages.
|
Boolean |
getDmqEligible()
This property specifies whether sent messages are eligible for the dead message queue.
|
Boolean |
getDynamicDurables()
This property is used to indicate whether durable topic endpoints or queues are to be
created on the appliance when the corresponding Session.createDurableSubscriber() or
Session.createQueue() is called.
|
Object |
getEffectiveProperty(String name)
Gets a property's value given its name.
|
Boolean |
getElidingEligible()
This property specifies whether sent messages are marked as eligible for eliding.
|
Hashtable<?,?> |
getEnvironment()
This method gets the environment that the ConnectionFactory may have.
|
Boolean |
getGenerateSenderID()
This property is used to Indicates whether the client name should be
included in the SenderID message header parameter.
|
String |
getHost()
This property is the hostname / IP address of the appliance.
|
JMSProperties |
getJMSProperties() |
JMSPropertyBean |
getJMSPropertyBean() |
Boolean |
getJMSXUserIDEnabled()
This property specifies whether JMSXUserID property should be set.
|
Integer |
getKeepAliveCountMax()
This property is used to specify the allowed number of consecutive keep-alive
messages for which no response is received before the connection is closed by
the API.
|
Integer |
getKeepAliveIntervalInMillis()
This property is used to specify the interval between keep alives in milliseconds.
|
Boolean |
getKeepAlives()
This property is used to enable/disable keep alives.
|
Boolean |
getKRBMutualAuthentication()
This property is used to indicate that mutual authentication is
to be used when Kerberos is enabled.
|
String |
getKRBServiceName()
This property is used to specify the ServiceName portion of the Service Principal Name (SPN)
that has a format of ServiceName/ApplianceName@REALM.
|
Boolean |
getLargeMessaging()
This property is used to enable/disable publish/receive large AD messages.
|
Integer |
getLargeMessagingConsumeTimeoutInMillis() |
String |
getLargeMessagingIncompletePolicy() |
Integer |
getLargeMessagingMaximumSize() |
Integer |
getLargeMessagingSegmentSize() |
String |
getPassword()
This property is used to specify the password to connect to the
appliance with.
|
Integer |
getPort()
This property is used to specify the port to use for the data connection.
|
Object |
getProperty(String name)
Gets the property value given its name.
|
Set<String> |
getPropertyNames()
Gets the property names for all the properties.
|
Integer |
getReadTimeoutInMillis()
This property is used to specify the timeout in milliseconds for
reading a reply from the appliance.
|
Integer |
getReceiveAdAckThreshold()
This property specifies the threshold for sending an acknowledgement to the appliance.
|
Integer |
getReceiveADAckTimerInMillis()
This property specifies the duration of the acknowledgement timer.
|
Integer |
getReceiveADWindowSize()
This property specifies the size of the sliding acknowledgement window.
|
Integer |
getReceiveBufferSize()
This property is used to configure the socket’s receive buffer size in bytes.
|
Integer |
getReceiveReconnectRetries()
Gets how much time (in ms) to wait between each attempt to reconnect to an endpoint.
|
Integer |
getReceiveReconnectRetryWaitInMillis()
Gets how much time (in ms) to wait between each attempt to reconnect to an endpoint.
|
Integer |
getReconnectRetries()
This property is used to specify the number of times to attempt a reconnect
once the initial data connection to the appliance has been lost.
|
Integer |
getReconnectRetryWaitInMillis()
This property is used to specify the amount of time to wait in milliseconds
between reconnect attempts.
|
Reference |
getReference() |
Boolean |
getRespectTTL()
This property is used to indicate whether dynamically created durable topic
endpoints or queues are set to respect time to live (see Dynamic Durables).
|
Integer |
getSendADAckTimerInMillis()
This property specifies the duration of the acknowledgement timer in milliseconds.
|
Integer |
getSendADMaxResends() |
Integer |
getSendADWindowSize()
This property specifies the size of the sliding acknowledgement window for
non-persistent messages.
|
Integer |
getSendBufferSize()
This property is used to specify the socket’s send buffer size in bytes.
|
String |
getSSLCipherSuites()
This property specifies a comma separated list of the
cipher suites to enable in order of preference.
|
String |
getSSLConnectionDowngradeTo()
This property specifies a transport protocol that SSL connection will
be downgraded to after client authentication.
|
String |
getSSLExcludedProtocols()
This property is used to specify a comma separated list of encryption
protocol(s) to exclude from use.
|
String |
getSSLKeyStore()
This property specifies the key store to use in URL or path format.
|
String |
getSSLKeyStoreFormat()
This property specifies the format of the given key store.
|
String |
getSSLKeyStoreNormalizedFormat()
This property specifies the internal normalized format of the given key store.
|
String |
getSSLKeyStorePassword()
This property specifies the key store password to use.
|
String |
getSSLPrivateKeyAlias()
This property specifies which private key in the key store is to be used
for the client certificate authentication.
|
String |
getSSLPrivateKeyPassword()
This property specifies the password used to decipher the client
certificate private key from the key store.
|
String |
getSSLProtocol()
This property is used to specify a comma separated list of encryption
protocol(s) to use.
|
String |
getSSLTrustedCommonNameList()
This property specifies the list of acceptable common
names for matching in server certificates.
|
String |
getSSLTrustStore()
This property specifies the trust store to use in URL or path format.
|
String |
getSSLTrustStoreFormat()
This property specifies the format of the given trust store.
|
String |
getSSLTrustStorePassword()
This property specifies the trust store password to use.
|
Boolean |
getSSLValidateCertificate()
This property is used to indicate that the API should
validate server certificates with certificates in the
trust store.
|
Boolean |
getSSLValidateCertificateDate()
This property is used to indicate that the session
connection should fail when an expired certificate or
a certificate not yet in effect is received.
|
Integer |
getSubscriberLocalPriority()
This property specifies the priority that a client’s subscriptions have
for receiving Deliver-To-One messages published on the Solace appliance
that the client is directly connected to.
|
Integer |
getSubscriberNetworkPriority()
This property specifies the priority that a client’s subscriptions have
for receiving Deliver-To-One messages published by other Solace appliances
in the Solace Messaging Platform.
|
Boolean |
getTcpNoDelay()
This property is used to specify whether to set the TCP_NODELAY option.
|
String |
getUnknownPublisherFlowAction()
This property specifies
|
Boolean |
getUseDefaultContext()
This property is used to indicate whether to use a new context or reuse
the default context for new JMS connections.
|
String |
getUsername()
This property is used to specify the username to connect to the appliance with.
|
String |
getVPN()
This property is used to specify the VPN to use when connecting to the appliance.
|
Boolean |
getXA()
This property specified whether this is an XA Connection Factory.
|
Boolean |
getXmlPayload()
This property specifies whether sent text messages have an XML payload.
|
int |
hashCode() |
static boolean |
isXAEnabled(JNDIObject obj,
JMSProperties properties) |
void |
setAuthenticationScheme(String scheme)
This property specifies the authentication scheme.
|
void |
setBrowserTimeoutInMS(Integer timeout)
This property specifies the maximum time in milliseconds for a
QueueBrowser Enumeration.hasMoreElements() to wait
for a message to arrive in the browser's local message buffer before returning. |
void |
setCallbackOnIOThread(Boolean callbackOnIOThread)
This property specifies whether to call MessageListeners directly from the IO thread.
|
void |
setClientDescription(String clientDescription)
This property is used to specify the application description on the appliance for the data connection.
|
void |
setClientID(String clientID)
This property is used to specify the client name on the appliance for the data connection.
|
void |
setCompressionLevel(Integer compressionLevel)
This property is used to enable and specify the ZLIB compression level.
|
void |
setConnectRetries(Integer connectRetries)
This property is used to specify the total number of times to attempt
and retry a connection when establishing an initial connection
for a Session to a host router.
|
void |
setConnectRetriesPerHost(Integer connectRetriesPerHost)
This property is used to specify the number of times to
retry data connection attempts to a single host before moving on to the next host
in the list.
|
void |
setConnectTimeoutInMillis(Integer connectTimeoutInMillis)
This property is used to specify the timeout in milliseconds on a data connection attempt.
|
void |
setDeliverToOne(Boolean deliverToOne)
This property specifies whether sent messages are deliver to one.
|
void |
setDeliverToOneOverride(Boolean deliverToOneOverride)
This property specifies whether to override deliver to one settings.
|
void |
setDeliveryMode(Integer deliveryMode)
This property specifies the delivery mode for sent messages.
|
void |
setDirectOptimized(Boolean directOptimized)
This property specifies whether to optimize the API for direct transport.
|
void |
setDirectTransport(Boolean directTransport)
This property specifies whether to use direct transport for non-persistent messages.
|
void |
setDmqEligible(Boolean dmqEligible)
This property specifies whether sent messages are eligible for the dead message queue.
|
void |
setDynamicDurables(Boolean dynamicDurables)
This property is used to indicate whether durable topic endpoints or queues are to be
created on the appliance when the corresponding Session.createDurableSubscriber() or
Session.createQueue() is called.
|
void |
setElidingEligible(Boolean elidingEligible)
This property specifies whether sent messages are marked as eligible for eliding.
|
void |
setGenerateSenderID(Boolean generateSenderId)
This property is used to Indicates whether the client name should be
included in the SenderID message header parameter.
|
void |
setHost(String host)
This property is the hostname / IP address of the appliance.
|
void |
setKeepAliveCountMax(Integer keepAliveCountMax)
This property is used to specify the allowed number of consecutive keep-alive
messages for which no response is received before the connection is closed by
the API.
|
void |
setKeepAliveIntervalInMillis(Integer keepAliveIntervalInMillis)
This property is used to specify the interval between keep alives in milliseconds.
|
void |
setKeepAlives(Boolean keepAlives)
This property is used to enable/disable keep alives.
|
void |
setKRBMutualAuthentication(Boolean mutualAuth)
This property is used to indicate that mutual authentication is
to be used when Kerberos is enabled.
|
void |
setKRBServiceName(String serviceName)
This property is used to specify the ServiceName portion of the Service Principal Name (SPN)
that has a format of ServiceName/ApplianceName@REALM.
|
void |
setLargeMessaging(Boolean largeMessaging)
This property is used to enable/disable publish/receive large AD messages..
|
void |
setLargeMessagingConsumeTimeoutInMillis(Integer consumeTimeoutInMillis) |
void |
setLargeMessagingIncompletePolicy(String incompletePolicy) |
void |
setLargeMessagingMaximumSize(Integer maxSize) |
void |
setLargeMessagingSegmentSize(Integer segmentSize) |
void |
setPassword(String password)
This property is used to specify the password to connect to the
appliance with.
|
void |
setPort(Integer port)
This property is used to specify the port to use for the data connection.
|
void |
setProperty(String name,
Object value)
Sets a property's value given its name.
|
void |
setReadTimeoutInMillis(Integer readTimeoutInMillis)
This property is used to specify the timeout in milliseconds for
reading a reply from the appliance.
|
void |
setReceiveAdAckThreshold(Integer receiveAdAckThreshold)
This property specifies the threshold for sending an acknowledgement to the appliance.
|
void |
setReceiveADAckTimerInMillis(Integer receiveADAckTimerInMillis)
This property specifies the duration of the acknowledgement timer.
|
void |
setReceiveADWindowSize(Integer receiveADWindowSize)
This property specifies the size of the sliding acknowledgement window.
|
void |
setReceiveBufferSize(Integer receiveBufferSize)
This property is used to configure the socket’s receive buffer size in bytes.
|
void |
setReceiveReconnectRetries(Integer reconnectRetries)
This property specifies the number of times to attempt to reconnect to an endpoint after the initial bound flow goes down.
|
void |
setReceiveReconnectRetryWaitInMillis(Integer reconnectRetryWaitInMillis)
This property specifies how much time (in ms) to wait between each attempt to reconnect to an endpoint.
|
void |
setReconnectRetries(Integer reconnectRetries)
This property is used to specify the number of times to attempt a reconnect
once the initial data connection to the appliance has been lost.
|
void |
setReconnectRetryWaitInMillis(Integer reconnectRetryWaitInMillis)
This property is used to specify the amount of time to wait in milliseconds
between reconnect attempts.
|
void |
setRespectTTL(Boolean respectTTL)
This property is used to indicate whether dynamically created durable topic
endpoints or queues are set to respect time to live (see Dynamic Durables).
|
void |
setSendADAckTimerInMillis(Integer sendADAckTimerInMillis)
This property specifies the duration of the acknowledgement timer in milliseconds.
|
void |
setSendADMaxResends(Integer sendADMaxResends)
Deprecated.
|
void |
setSendADWindowSize(Integer sendADWindowSize)
This property specifies the size of the sliding acknowledgement window for
non-persistent messages.
|
void |
setSendBufferSize(Integer sendBufferSize)
This property is used to specify the socket’s send buffer size in bytes.
|
void |
setSSLCipherSuites(String cipherSuites)
This property specifies a comma separated list of the
cipher suites to enable in order of preference.
|
void |
setSSLConnectionDowngradeTo(String protocol)
This property specifies a transport protocol that SSL connection will
be downgraded to after client authentication.
|
void |
setSSLExcludedProtocols(String protocols)
This property is used to specify a comma separated list of encryption
protocol(s) to exclude from use.
|
void |
setSSLKeyStore(String keystore)
This property specifies the key store to use in URL or path format.
|
void |
setSSLKeyStoreFormat(String format)
This property specifies the format of the given key store.
|
void |
setSSLKeyStoreNormalizedFormat(String format)
This property specifies the internal normalized format of the given key store.
|
void |
setSSLKeyStorePassword(String password)
This property specifies the key store password to use.
|
void |
setSSLPrivateKeyAlias(String alias)
This property specifies which private key in the key store is to be used
for the client certificate authentication.
|
void |
setSSLPrivateKeyPassword(String password)
This property specifies the password used to decipher the client
certificate private key from the key store.
|
void |
setSSLProtocol(String protocol)
This property is used to specify a comma separated list of encryption
protocol(s) to use.
|
void |
setSSLTrustedCommonNameList(String commonNames)
This property specifies the list of acceptable common
names for matching in server certificates.
|
void |
setSSLTrustStore(String truststore)
This property specifies the trust store to use in URL or path format.
|
void |
setSSLTrustStoreFormat(String format)
This property specifies the format of the given trust store.
|
void |
setSSLTrustStorePassword(String password)
This property specifies the trust store password to use.
|
void |
setSSLValidateCertificate(Boolean validate)
This property is used to indicate that the API should validate server
certificates with certificates in the trust store.
|
void |
setSSLValidateCertificateDate(Boolean validateDate)
This property is used to indicate that the session
connection should fail when an expired certificate or
a certificate not yet in effect is received.
|
void |
setSubscriberLocalPriority(Integer subscriberLocalPriority)
This property specifies the priority that a client’s subscriptions have
for receiving Deliver-To-One messages published on the Solace appliance
that the client is directly connected to.
|
void |
setSubscriberNetworkPriority(Integer subscriberNetworkPriority)
This property specifies the priority that a client’s subscriptions have
for receiving Deliver-To-One messages published by other Solace appliances
in the Solace Messaging Platform.
|
void |
setTcpNoDelay(Boolean tcpNoDelay)
This property is used to specify whether to set the TCP_NODELAY option.
|
void |
setUnknownPublisherFlowAction(String action)
This property specifies
|
void |
setUseDefaultContext(Boolean useDefaultContext)
This property is used to indicate whether to use a new context or reuse
the default context for new JMS connections.
|
void |
setUsername(String username)
This property is used to specify the username to connect to the appliance with.
|
void |
setVPN(String vpn)
This property is used to specify the VPN to use when connecting to the appliance.
|
void |
setXA(Boolean xa) |
void |
setXmlPayload(Boolean xmlPayload)
This property specifies whether sent text messages have an XML payload.
|
String |
toEffectiveString()
Returns a string representation of all the property values as if the
method
SolConnectionFactory.getEffectiveProperty(String) was used to retrieve them. |
Properties |
toProperties()
Gets the properties in a
Properties instance. |
String |
toString() |
public SolConnectionFactoryImpl()
public SolConnectionFactoryImpl(JMSProperties properties)
public JMSProperties getJMSProperties()
public JMSPropertyBean getJMSPropertyBean()
public Connection createConnection() throws JMSException
ConnectionFactoryConnection.start method
is explicitly called.createConnection in interface ConnectionFactoryJMSException - if the JMS provider fails to create the
connection due to some internal error.JMSSecurityException - if client authentication fails due to
an invalid user name or password.public Connection createConnection(String userName, String password) throws JMSException
ConnectionFactoryConnection.start method
is explicitly called.createConnection in interface ConnectionFactoryuserName - the caller's user namepassword - the caller's passwordJMSException - if the JMS provider fails to create the
connection due to some internal error.JMSSecurityException - if client authentication fails due to
an invalid user name or password.public QueueConnection createQueueConnection() throws JMSException
QueueConnectionFactoryConnection.start method
is explicitly called.
.createQueueConnection in interface QueueConnectionFactoryJMSException - if the JMS provider fails to create the queue
connection due to some internal error.JMSSecurityException - if client authentication fails due to
an invalid user name or password.public QueueConnection createQueueConnection(String userName, String password) throws JMSException
QueueConnectionFactoryConnection.start method
is explicitly called.createQueueConnection in interface QueueConnectionFactoryuserName - the caller's user namepassword - the caller's passwordJMSException - if the JMS provider fails to create the queue
connection due to some internal error.JMSSecurityException - if client authentication fails due to
an invalid user name or password.public TopicConnection createTopicConnection() throws JMSException
TopicConnectionFactoryConnection.start method
is explicitly called.createTopicConnection in interface TopicConnectionFactoryJMSException - if the JMS provider fails to create a topic
connection due to some internal error.JMSSecurityException - if client authentication fails due to
an invalid user name or password.public TopicConnection createTopicConnection(String userName, String password) throws JMSException
TopicConnectionFactoryConnection.start method
is explicitly called.createTopicConnection in interface TopicConnectionFactoryuserName - the caller's user namepassword - the caller's passwordJMSException - if the JMS provider fails to create a topic
connection due to some internal error.JMSSecurityException - if client authentication fails due to
an invalid user name or password.public Object getProperty(String name)
SolConnectionFactorySolConnectionFactory.getPropertyNames()getProperty in interface SolConnectionFactoryname - Name of the property to returnpublic Object getEffectiveProperty(String name)
SolConnectionFactorySolConnectionFactory.getPropertyNames()
This method differs from SolConnectionFactory.getProperty(String) in that it returns
the value that will be used in connection creation. If a property has not
been set through the api (or even if it has), this method may return the
default value or another value that overrides the connection factory's value.getEffectiveProperty in interface SolConnectionFactoryname - Name of the property to return.public void setProperty(String name, Object value)
SolConnectionFactorySolConnectionFactory.getPropertyNames()setProperty in interface SolConnectionFactoryname - The name of the property to setvalue - The value to set the property tpublic Set<String> getPropertyNames()
SolConnectionFactorySolConnectionFactory.getProperty(String) and SolConnectionFactory.setProperty(String, Object)getPropertyNames in interface SolConnectionFactorypublic String getAuthenticationScheme()
SolConnectionFactoryValues are one of
SupportedProperty.AUTHENTICATION_SCHEME_BASIC (username/password based authentication)SupportedProperty.AUTHENTICATION_SCHEME_CLIENT_CERTIFICATE (Client Certificate based authentication)SupportedProperty.AUTHENTICATION_SCHEME_GSS_KRB (Kerberos based authentication)getAuthenticationScheme in interface SolConnectionFactorypublic void setAuthenticationScheme(String scheme)
SolConnectionFactoryValues are one of
SupportedProperty.AUTHENTICATION_SCHEME_BASIC (username/password authentication) SupportedProperty.AUTHENTICATION_SCHEME_CLIENT_CERTIFICATE (Client Certificate based authentication)SupportedProperty.AUTHENTICATION_SCHEME_GSS_KRB (Kerberos based authentication)setAuthenticationScheme in interface SolConnectionFactoryscheme - The authentication schemepublic Integer getBrowserTimeoutInMS()
SolConnectionFactoryQueueBrowser Enumeration.hasMoreElements() to wait
for a message to arrive in the browser's local message buffer before returning. If there is already a message
waiting Enumeration.hasMoreElements() returns immediately. A value of 0 means wait forever (
Enumeration.hasMoreElements() will return false only on closing the browser). A value < 0 will return immediately.
Default: -1 (return immediately)
getBrowserTimeoutInMS in interface SolConnectionFactorypublic void setBrowserTimeoutInMS(Integer timeout)
SolConnectionFactoryQueueBrowser Enumeration.hasMoreElements() to wait
for a message to arrive in the browser's local message buffer before returning. If there is already a message
waiting Enumeration.hasMoreElements() returns immediately. A value of 0 means wait forever (
Enumeration.hasMoreElements() will return false only on closing the browser). A value < 0 will return immediately.
Default: -1 (return immediately)
setBrowserTimeoutInMS in interface SolConnectionFactorytimeout - the BrowserTimeoutInMS property value, null to unset.public Boolean getCallbackOnIOThread()
SolConnectionFactoryDefault: false
getCallbackOnIOThread in interface SolConnectionFactorypublic void setCallbackOnIOThread(Boolean callbackOnIOThread)
SolConnectionFactoryDefault: false
setCallbackOnIOThread in interface SolConnectionFactorycallbackOnIOThread - the CallbackOnIOThread property value, null to unset.public String getClientDescription()
SolConnectionFactoryFormat: Must be a maximum of 254 ASCII characters.
Default: “”
getClientDescription in interface SolConnectionFactorypublic void setClientDescription(String clientDescription)
SolConnectionFactoryFormat: Must be a maximum of 254 ASCII characters.
Default: “”
setClientDescription in interface SolConnectionFactoryclientDescription - the ClientDescription property value, null to unset.public String getClientID()
SolConnectionFactoryFormat: Must be a valid topic name and a maximum of 160 bytes when encoded in UTF-8.
Default: a generated client ID
getClientID in interface SolConnectionFactorypublic void setClientID(String clientID)
SolConnectionFactoryFormat: Must be a valid topic name and a maximum of 160 bytes when encoded in UTF-8.
Default: a generated client ID
setClientID in interface SolConnectionFactoryclientID - the ClientID property value, null to unset.public Integer getCompressionLevel()
SolConnectionFactoryFormat: Must be a value [-1..9]. -1 means use the JNDI connection’s compression level. O disables compression. 1-9 sets the ZLIB compression level.
Default: -1 (use JNDI connection’s compression level, 0 if no JNDI connection)
getCompressionLevel in interface SolConnectionFactorypublic void setCompressionLevel(Integer compressionLevel)
SolConnectionFactoryFormat: Must be a value [-1..9]. -1 means use the JNDI connection’s compression level. O disables compression. 1-9 sets the ZLIB compression level.
Default: -1 (use JNDI connection’s compression level, 0 if no JNDI connection)
setCompressionLevel in interface SolConnectionFactorycompressionLevel - the CompressionLevel property value, null to unset.public Integer getConnectRetries()
SolConnectionFactoryFormat: Valid values are [-1.. 2147483647]. -1 means retry forever.
Default: 0 (don’t retry)
getConnectRetries in interface SolConnectionFactorypublic void setConnectRetries(Integer connectRetries)
SolConnectionFactoryFormat: Valid values are [-1.. 2147483647]. -1 means retry forever.
Default: 0 (don’t retry)
setConnectRetries in interface SolConnectionFactoryconnectRetries - the ConnectRetries property value, null to unset.public Integer getConnectRetriesPerHost()
SolConnectionFactoryFormat: Valid values are [-1.. 2147483647]. -1 means retry forever.
Default: 0 (don’t retry)
getConnectRetriesPerHost in interface SolConnectionFactorypublic void setConnectRetriesPerHost(Integer connectRetriesPerHost)
SolConnectionFactoryFormat: Valid values are [-1.. 2147483647]. -1 means retry forever.
Default: 0 (don’t retry)
setConnectRetriesPerHost in interface SolConnectionFactoryconnectRetriesPerHost - the ConnectRetriesPerHost property value, null to unset.public Integer getConnectTimeoutInMillis()
SolConnectionFactoryFormat: In milliseconds. Valid values are [0..2147483647]. 0 means wait forever.
Default: The default value is 30000 (30 seconds)
getConnectTimeoutInMillis in interface SolConnectionFactorypublic void setConnectTimeoutInMillis(Integer connectTimeoutInMillis)
SolConnectionFactoryFormat: In milliseconds. Valid values are [0..2147483647]. 0 means wait forever.
Default: The default value is 30000 (30 seconds)
setConnectTimeoutInMillis in interface SolConnectionFactoryconnectTimeoutInMillis - the ConnectTimeoutInMillis property value, null to unset.public Integer getDeliveryMode()
SolConnectionFactoryFormat: Valid values are [DeliveryMode.NON_PERSISTENT | DeliveryMode.PERSISTENT]
Default: DeliveryMode.PERSISTENT
getDeliveryMode in interface SolConnectionFactorypublic void setDeliveryMode(Integer deliveryMode)
SolConnectionFactoryFormat: Valid values are [DeliveryMode.NON_PERSISTENT | DeliveryMode.PERSISTENT]
Default: DeliveryMode.PERSISTENT
setDeliveryMode in interface SolConnectionFactorydeliveryMode - the DeliveryMode property value, null to unset.public Boolean getDeliverToOne()
SolConnectionFactoryDefault: false
getDeliverToOne in interface SolConnectionFactorypublic void setDeliverToOne(Boolean deliverToOne)
SolConnectionFactoryDefault: false
setDeliverToOne in interface SolConnectionFactorydeliverToOne - the DeliverToOne property value, null to unset.public Boolean getDeliverToOneOverride()
SolConnectionFactoryDefault: true.
getDeliverToOneOverride in interface SolConnectionFactorypublic void setDeliverToOneOverride(Boolean deliverToOneOverride)
SolConnectionFactoryDefault: true.
setDeliverToOneOverride in interface SolConnectionFactorydeliverToOneOverride - the DeliverToOneOverride property value, null to unset.public Boolean getDirectOptimized()
SolConnectionFactoryDefault: false.
getDirectOptimized in interface SolConnectionFactorypublic void setDirectOptimized(Boolean directOptimized)
SolConnectionFactoryDefault: false.
setDirectOptimized in interface SolConnectionFactorydirectOptimized - the DirectOptimized property value, null to unset.public Boolean getDirectTransport()
SolConnectionFactoryDefault: true.
getDirectTransport in interface SolConnectionFactorypublic Boolean getJMSXUserIDEnabled()
SolConnectionFactoryDefault: false.
getJMSXUserIDEnabled in interface SolConnectionFactorypublic Boolean getAllowDuplicateClientId()
SolConnectionFactoryDefault: false.
getAllowDuplicateClientId in interface SolConnectionFactorypublic void setDirectTransport(Boolean directTransport)
SolConnectionFactoryDefault: true.
setDirectTransport in interface SolConnectionFactorydirectTransport - the DirectTransport property value, null to unset.public Boolean getDmqEligible()
SolConnectionFactoryDefault: false
getDmqEligible in interface SolConnectionFactorypublic void setDmqEligible(Boolean dmqEligible)
SolConnectionFactoryDefault: false
setDmqEligible in interface SolConnectionFactorydmqEligible - the DmqEligible property value, null to unset.public Boolean getDynamicDurables()
SolConnectionFactoryDefault: false
getDynamicDurables in interface SolConnectionFactorypublic void setDynamicDurables(Boolean dynamicDurables)
SolConnectionFactoryDefault: false
setDynamicDurables in interface SolConnectionFactorydynamicDurables - the DynamicDurables property value, null to unset.public Boolean getElidingEligible()
SolConnectionFactoryDefault: false
getElidingEligible in interface SolConnectionFactorypublic void setElidingEligible(Boolean elidingEligible)
SolConnectionFactoryDefault: false
setElidingEligible in interface SolConnectionFactoryelidingEligible - the ElidingEligible property value, null to unset.public Hashtable<?,?> getEnvironment()
SolConnectionFactorygetEnvironment in interface SolConnectionFactorypublic Boolean getGenerateSenderID()
SolConnectionFactorygetGenerateSenderID in interface SolConnectionFactorypublic void setGenerateSenderID(Boolean generateSenderId)
SolConnectionFactorysetGenerateSenderID in interface SolConnectionFactorygenerateSenderId - True to generate sender id, null to unset.public String getHost()
SolConnectionFactorygetHost in interface SolConnectionFactorypublic void setHost(String host)
SolConnectionFactoryUsage A host entry has the following form:
[Protocol:]Host[:Port]
Protocol is the protocol used for the transport channel. The valid values are:
Host is the IP address (or host name) to connect to for a connection. Port is the port to connect to for a connection. A value is only required when using a port other than the automatically assigned default port number. The default port for smf is 55555 when compression is not in use, or 55003 when compression is in use. The default port for SSL is 55443.
"192.168.160.128,192.168.160.129:50005"
When a connection is attempted, the API first attempts to connect to 192.168.160.128. If that connection fails for any reason, it attempts to connect to 192.168.160.129:50005. This process is repeated until all other entries in the host list are attempted.
After each entry has been attempted, and if all fail, the channel properties ConnectRetries, ReconnectRetries, and ReconnectRetryWaitInMillis determine the behavior of the API. If ConnectRetries is non-zero, the API waits for the amount of time set for ReconnectRetryWaitInMillis, then starts its connection attempts again from the beginning of the list. When traversing the list, each entry is attempted the number of times set for the ConnectRetriesPerHost property + 1.
If an established session to any host in the list fails, when ReconnectRetries is non-zero, the API automatically attempts to reconnect, starting at the beginning of the list.
For typical Guaranteed Messaging scenarios, redundancy is achieved by using an active/standby pair of appliances sharing the same IP address, so only one host entry is required in the session HOST property. In this situation, once-and-only-once delivery is guaranteed.
setHost in interface SolConnectionFactoryhost - the Host property value, null to unset.public Integer getKeepAliveCountMax()
SolConnectionFactoryFormat: Valid values are [3.. 2147483647].
Default: 3
getKeepAliveCountMax in interface SolConnectionFactorypublic void setKeepAliveCountMax(Integer keepAliveCountMax)
SolConnectionFactoryFormat: Valid values are [3.. 2147483647].
Default: 3
setKeepAliveCountMax in interface SolConnectionFactorykeepAliveCountMax - the KeepAliveCountMax property value, null to unset.public Integer getKeepAliveIntervalInMillis()
SolConnectionFactoryFormat: In milliseconds. Valid values are [0, 50]. 0 disables the keep alives.
Default: 3000 (3 seconds)
getKeepAliveIntervalInMillis in interface SolConnectionFactorypublic void setKeepAliveIntervalInMillis(Integer keepAliveIntervalInMillis)
SolConnectionFactoryFormat: In milliseconds. Valid values are [0, 50]. 0 disables the keep alives.
Default: 3000 (3 seconds)
setKeepAliveIntervalInMillis in interface SolConnectionFactorykeepAliveIntervalInMillis - the KeepAliveIntervalInMillis property value, null to unset.public Boolean getKeepAlives()
SolConnectionFactoryDefault: true (enabled)
getKeepAlives in interface SolConnectionFactorypublic void setKeepAlives(Boolean keepAlives)
SolConnectionFactoryDefault: true (enabled)
setKeepAlives in interface SolConnectionFactorykeepAlives - the KeepAlives property value, null to unset.public Boolean getKRBMutualAuthentication()
SolConnectionFactoryDefault: true (enabled)
getKRBMutualAuthentication in interface SolConnectionFactory#setAuthenticationScheme(string)public void setKRBMutualAuthentication(Boolean mutualAuth)
SolConnectionFactoryDefault: true (enabled)
setKRBMutualAuthentication in interface SolConnectionFactorymutualAuth - Kerberos mutual authentication property value, null to unset.#setAuthenticationSchemepublic String getKRBServiceName()
SolConnectionFactoryDefault: "solace"
getKRBServiceName in interface SolConnectionFactorypublic void setKRBServiceName(String serviceName)
SolConnectionFactoryDefault: "solace"
setKRBServiceName in interface SolConnectionFactoryserviceName - Kerberos service name, null to unset.public Boolean getLargeMessaging()
SolConnectionFactoryDefault: false (disabled)
getLargeMessaging in interface SolConnectionFactorypublic void setLargeMessaging(Boolean largeMessaging)
SolConnectionFactoryDefault: false (disabled)
setLargeMessaging in interface SolConnectionFactorylargeMessaging - the LargeMessaging property value, null if not set.public Integer getLargeMessagingSegmentSize()
getLargeMessagingSegmentSize in interface SolConnectionFactorypublic void setLargeMessagingSegmentSize(Integer segmentSize)
setLargeMessagingSegmentSize in interface SolConnectionFactorysegmentSize - parameterpublic Integer getLargeMessagingMaximumSize()
getLargeMessagingMaximumSize in interface SolConnectionFactorypublic void setLargeMessagingMaximumSize(Integer maxSize)
setLargeMessagingMaximumSize in interface SolConnectionFactorymaxSize - parameterpublic Integer getLargeMessagingConsumeTimeoutInMillis()
getLargeMessagingConsumeTimeoutInMillis in interface SolConnectionFactorypublic void setLargeMessagingConsumeTimeoutInMillis(Integer consumeTimeoutInMillis)
setLargeMessagingConsumeTimeoutInMillis in interface SolConnectionFactoryconsumeTimeoutInMillis - parameterpublic String getLargeMessagingIncompletePolicy()
getLargeMessagingIncompletePolicy in interface SolConnectionFactorypublic void setLargeMessagingIncompletePolicy(String incompletePolicy)
setLargeMessagingIncompletePolicy in interface SolConnectionFactoryincompletePolicy - parameterpublic String getPassword()
SolConnectionFactoryFormat: The maximum length is 128 characters.
getPassword in interface SolConnectionFactorypublic void setPassword(String password)
SolConnectionFactoryFormat: The maximum length is 128 characters.
setPassword in interface SolConnectionFactorypassword - the Password property value, null to unset.public Integer getPort()
SolConnectionFactoryFormat: Valid values are [-1..65535]. -1 means use the same port as specified for the JNDI connection.
Default: -1 (use JNDI connection port, or the default appliance port if no JNDI connection)
getPort in interface SolConnectionFactorypublic void setPort(Integer port)
SolConnectionFactoryFormat: Valid values are [-1..65535]. -1 means use the same port as specified for the JNDI connection.
Default: -1 (use JNDI connection port, or the default appliance port if no JNDI connection)
setPort in interface SolConnectionFactoryport - the Port property value, null to unset.public Integer getReadTimeoutInMillis()
SolConnectionFactoryFormat: Valid values are [1..2147483647].
Default: 10000 (10 seconds)
getReadTimeoutInMillis in interface SolConnectionFactorypublic void setReadTimeoutInMillis(Integer readTimeoutInMillis)
SolConnectionFactoryFormat: Valid values are [1..2147483647].
Default: 10000 (10 seconds)
setReadTimeoutInMillis in interface SolConnectionFactoryreadTimeoutInMillis - the ReadTimeoutInMillis property value, null to unset.public Integer getReceiveAdAckThreshold()
SolConnectionFactoryFormat: Valid values are [1..75]
Default: 60
getReceiveAdAckThreshold in interface SolConnectionFactorypublic void setReceiveAdAckThreshold(Integer receiveAdAckThreshold)
SolConnectionFactoryFormat: Valid values are [1..75]
Default: 60
setReceiveAdAckThreshold in interface SolConnectionFactoryreceiveAdAckThreshold - the ReceiveAdAckThreshold property value, null to unset.public Integer getReceiveADAckTimerInMillis()
SolConnectionFactoryFormat: In milliseconds. Valid values are [20..1500]
Default: 1000 (1 second)
getReceiveADAckTimerInMillis in interface SolConnectionFactorypublic void setReceiveADAckTimerInMillis(Integer receiveADAckTimerInMillis)
SolConnectionFactoryFormat: In milliseconds. Valid values are [20..1500]
Default: 1000 (1 second)
setReceiveADAckTimerInMillis in interface SolConnectionFactoryreceiveADAckTimerInMillis - the ReceiveADAckTimerInMillis property value, null to unset.public Integer getReceiveADWindowSize()
SolConnectionFactoryFormat: Valid values are [1..255]
Default: 18
getReceiveADWindowSize in interface SolConnectionFactorypublic void setReceiveADWindowSize(Integer receiveADWindowSize)
SolConnectionFactoryFormat: Valid values are [1..255]
Default: 18
setReceiveADWindowSize in interface SolConnectionFactoryreceiveADWindowSize - the ReceiveADWindowSize property value, null to unset.public Integer getReceiveBufferSize()
SolConnectionFactoryFormat: Valid values are greater than 0.
Default: 65536
getReceiveBufferSize in interface SolConnectionFactorypublic void setReceiveBufferSize(Integer receiveBufferSize)
SolConnectionFactoryFormat: Valid values are greater than 0.
Default: 65536
setReceiveBufferSize in interface SolConnectionFactoryreceiveBufferSize - the ReceiveBufferSize property value, null to unset.public Integer getReceiveReconnectRetries()
SolConnectionFactorygetReceiveReconnectRetries in interface SolConnectionFactorypublic void setReceiveReconnectRetries(Integer reconnectRetries)
SolConnectionFactorysetReceiveReconnectRetries in interface SolConnectionFactorypublic Integer getReceiveReconnectRetryWaitInMillis()
SolConnectionFactorygetReceiveReconnectRetryWaitInMillis in interface SolConnectionFactorypublic void setReceiveReconnectRetryWaitInMillis(Integer reconnectRetryWaitInMillis)
SolConnectionFactorysetReceiveReconnectRetryWaitInMillis in interface SolConnectionFactorypublic Integer getReconnectRetries()
SolConnectionFactoryFormat: Valid values are [-1..2147483647]. -1 means retry forever.
Default: 3 retries
getReconnectRetries in interface SolConnectionFactorypublic void setReconnectRetries(Integer reconnectRetries)
SolConnectionFactoryFormat: Valid values are [-1..2147483647]. -1 means retry forever.
Default: 3 retries
setReconnectRetries in interface SolConnectionFactoryreconnectRetries - the ReconnectRetries property value, null to unset.public Integer getReconnectRetryWaitInMillis()
SolConnectionFactoryFormat: Valid values are [0..60000]. 0 means don’t wait.
Default: 3000 (3 seconds)
getReconnectRetryWaitInMillis in interface SolConnectionFactorypublic void setReconnectRetryWaitInMillis(Integer reconnectRetryWaitInMillis)
SolConnectionFactoryFormat: Valid values are [0..60000]. 0 means don’t wait.
Default: 3000 (3 seconds)
setReconnectRetryWaitInMillis in interface SolConnectionFactoryreconnectRetryWaitInMillis - the ReconnectRetryWaitInMillis property value, null to unset.public Boolean getRespectTTL()
SolConnectionFactoryDefault: true
getRespectTTL in interface SolConnectionFactorypublic void setRespectTTL(Boolean respectTTL)
SolConnectionFactoryDefault: true
setRespectTTL in interface SolConnectionFactoryrespectTTL - the RespectTTL property value, null to unset.public Integer getSendADAckTimerInMillis()
SolConnectionFactoryFormat: In milliseconds. Valid values are [20..60000]
Default: 2000 (2 seconds)
getSendADAckTimerInMillis in interface SolConnectionFactorypublic void setSendADAckTimerInMillis(Integer sendADAckTimerInMillis)
SolConnectionFactoryFormat: In milliseconds. Valid values are [20..60000]
Default: 2000 (2 seconds)
setSendADAckTimerInMillis in interface SolConnectionFactorysendADAckTimerInMillis - the SendADAckTimerInMillis property value, null to unset.public Integer getSendADMaxResends()
getSendADMaxResends in interface SolConnectionFactory@Deprecated public void setSendADMaxResends(Integer sendADMaxResends)
setSendADMaxResends in interface SolConnectionFactorypublic Integer getSendADWindowSize()
SolConnectionFactoryFormat: Valid values are [1..255]
Default: 255
getSendADWindowSize in interface SolConnectionFactorypublic void setSendADWindowSize(Integer sendADWindowSize)
SolConnectionFactoryFormat: Valid values are [1..255]
Default: 255
setSendADWindowSize in interface SolConnectionFactorysendADWindowSize - the SendADWindowSize property value, null to unset.public Integer getSendBufferSize()
SolConnectionFactoryFormat: Valid values are greater than 0.
Default: 65536
getSendBufferSize in interface SolConnectionFactorypublic void setSendBufferSize(Integer sendBufferSize)
SolConnectionFactoryFormat: Valid values are greater than 0.
Default: 65536
setSendBufferSize in interface SolConnectionFactorysendBufferSize - the SendBufferSize property value, null to unset.public String getSSLExcludedProtocols()
SolConnectionFactoryFormat: Allowed values are “sslv3”, “tlsv1”, “tlsv1.1”, “tlsv1.2”.
Default: “” Note that TLSv1.1 and TLSv1.2 are supported starting with Java 7.
getSSLExcludedProtocols in interface SolConnectionFactorypublic void setSSLExcludedProtocols(String protocols)
SolConnectionFactoryFormat: Allowed values are “sslv3”, “tlsv1”, “tlsv1.1”, “tlsv1.2”.
Default: “” Note that TLSv1.1 and TLSv1.2 are supported starting with Java 7.
setSSLExcludedProtocols in interface SolConnectionFactoryprotocols - The SSL Excluded Protocols property value, null to unset.public String getSSLConnectionDowngradeTo()
SolConnectionFactorygetSSLConnectionDowngradeTo in interface SolConnectionFactorypublic void setSSLConnectionDowngradeTo(String protocol)
SolConnectionFactorysetSSLConnectionDowngradeTo in interface SolConnectionFactoryprotocol - the SSLConnectionDowngradeTo property value, null to unset.public String getSSLProtocol()
SolConnectionFactoryFormat: Allowed values are “sslv3”, “tlsv1”, “tlsv1.1”, “tlsv1.2”.
Default: “sslv3,tlsv1,tlsv1.1,tlsv1.2” Note that TLSv1.1 and TLSv1.2 are supported starting with Java 7.
getSSLProtocol in interface SolConnectionFactorypublic void setSSLProtocol(String protocol)
SolConnectionFactoryFormat: Allowed values are “sslv3”, “tlsv1”, “tlsv1.1”, “tlsv1.2”.
Default: “sslv3,tlsv1,tlsv1.1,tlsv1.2” Note that TLSv1.1 and TLSv1.2 are supported starting with Java 7.
setSSLProtocol in interface SolConnectionFactoryprotocol - The SSL Protocol property value, null to unset.public Boolean getSSLValidateCertificate()
SolConnectionFactoryFormat: Valid values are true, false.
Default: true
getSSLValidateCertificate in interface SolConnectionFactorypublic void setSSLValidateCertificate(Boolean validate)
SolConnectionFactory
SupportedProperty.SOLACE_JMS_SSL_VALIDATE_CERTIFICATE | Boolean | true | This property is used to specify whether the API should validate server certificates with certificates in the truststore. If set to false, no validation of the certificate date or common name is performed. | |||
Format: Valid values are true, false.
Default: true
setSSLValidateCertificate in interface SolConnectionFactoryvalidate - The SSL Validate Certificate property, null to unset.public Boolean getSSLValidateCertificateDate()
SolConnectionFactoryFormat: Valid values are true, false.
Default: True
getSSLValidateCertificateDate in interface SolConnectionFactorypublic void setSSLValidateCertificateDate(Boolean validateDate)
SolConnectionFactoryFormat: Valid values are true, false.
Default: True
setSSLValidateCertificateDate in interface SolConnectionFactoryvalidateDate - The SSL Validate Certificate Date property, null to unset.public String getSSLCipherSuites()
SolConnectionFactoryFormat: Comma separated list of cipher names.
Default: All supported ciphers.
getSSLCipherSuites in interface SolConnectionFactorypublic void setSSLCipherSuites(String cipherSuites)
SolConnectionFactoryFormat: Comma separated list of cipher names.
Default: All supported ciphers.
setSSLCipherSuites in interface SolConnectionFactorycipherSuites - The list of ciphers to enable, null to unset.public String getSSLTrustStore()
SolConnectionFactoryFormat: URL or path to the trust store.
Default: none.
getSSLTrustStore in interface SolConnectionFactorypublic void setSSLTrustStore(String truststore)
SolConnectionFactoryFormat: URL or path to the trust store.
Default: none.
setSSLTrustStore in interface SolConnectionFactorytruststore - The trust store to use in URL or path format, null to unset.public String getSSLTrustStorePassword()
SolConnectionFactoryFormat: String
Default: none.
getSSLTrustStorePassword in interface SolConnectionFactorypublic void setSSLTrustStorePassword(String password)
SolConnectionFactoryFormat: String
Default: none.
setSSLTrustStorePassword in interface SolConnectionFactorypassword - The trust store password, null to unset.public String getSSLTrustStoreFormat()
SolConnectionFactoryFormat: Valid values are “jks”, “pkcs12”..
Default: “jks”
getSSLTrustStoreFormat in interface SolConnectionFactorypublic void setSSLTrustStoreFormat(String format)
SolConnectionFactoryFormat: Valid values are “jks”, “pkcs12”..
Default: “jks”
setSSLTrustStoreFormat in interface SolConnectionFactoryformat - The format of the given trust store, null to unset.public String getSSLKeyStore()
SolConnectionFactoryFormat: URL or path to the key store.
Default: none.
getSSLKeyStore in interface SolConnectionFactorypublic void setSSLKeyStore(String keystore)
SolConnectionFactoryFormat: URL or path to the trust store.
Default: none.
setSSLKeyStore in interface SolConnectionFactorykeystore - The key store to use in URL or path format, null to unset.public String getSSLKeyStorePassword()
SolConnectionFactoryFormat: String
Default: none.
getSSLKeyStorePassword in interface SolConnectionFactorypublic void setSSLKeyStorePassword(String password)
SolConnectionFactoryFormat: String
Default: none.
setSSLKeyStorePassword in interface SolConnectionFactorypassword - The key store password, null to unset.public String getSSLKeyStoreFormat()
SolConnectionFactoryFormat: Valid values include “jks”, “pkcs12”..
Default: “jks”
getSSLKeyStoreFormat in interface SolConnectionFactorypublic void setSSLKeyStoreFormat(String format)
SolConnectionFactoryFormat: Valid values include “jks”, “pkcs12”..
Default: “jks”
setSSLKeyStoreFormat in interface SolConnectionFactoryformat - The format of the given key store, null to unset.public String getSSLKeyStoreNormalizedFormat()
SolConnectionFactoryFormat: Valid values include “jks”, “pkcs12”, etc.
Default: none
getSSLKeyStoreNormalizedFormat in interface SolConnectionFactorypublic void setSSLKeyStoreNormalizedFormat(String format)
SolConnectionFactoryFormat: Valid values include “jks”, “pkcs12”, etc.
Default: none
setSSLKeyStoreNormalizedFormat in interface SolConnectionFactoryformat - The format of the internal normalized key store, null to unset.public String getSSLPrivateKeyAlias()
SolConnectionFactorygetSSLPrivateKeyAlias in interface SolConnectionFactorypublic void setSSLPrivateKeyAlias(String alias)
SolConnectionFactorysetSSLPrivateKeyAlias in interface SolConnectionFactoryalias - The alias of the private keypublic String getSSLPrivateKeyPassword()
SolConnectionFactorygetSSLPrivateKeyPassword in interface SolConnectionFactorypublic void setSSLPrivateKeyPassword(String password)
SolConnectionFactorysetSSLPrivateKeyPassword in interface SolConnectionFactorypassword - The password used to decipher the private keypublic String getSSLTrustedCommonNameList()
SolConnectionFactoryFormat: A comma separated list of common names.
Default: No common names provided means that all common names are acceptable.
getSSLTrustedCommonNameList in interface SolConnectionFactorypublic void setSSLTrustedCommonNameList(String commonNames)
SolConnectionFactoryFormat: A comma separated list of common names.
Default: No common names provided means that all common names are acceptable.
setSSLTrustedCommonNameList in interface SolConnectionFactorycommonNames - The list of acceptable common names for matching in server certificates, null to unset.public Integer getSubscriberLocalPriority()
SolConnectionFactoryFormat: Valid values are [1..4]
Default: 1
getSubscriberLocalPriority in interface SolConnectionFactorypublic void setSubscriberLocalPriority(Integer subscriberLocalPriority)
SolConnectionFactoryFormat: Valid values are [1..4]
Default: 1
setSubscriberLocalPriority in interface SolConnectionFactorysubscriberLocalPriority - the SubscriberLocalPriority property value, null to unset.public Integer getSubscriberNetworkPriority()
SolConnectionFactoryFormat: Valid values are [1..4]
Default: 1
getSubscriberNetworkPriority in interface SolConnectionFactorypublic void setSubscriberNetworkPriority(Integer subscriberNetworkPriority)
SolConnectionFactoryFormat: Valid values are [1..4]
Default: 1
setSubscriberNetworkPriority in interface SolConnectionFactorysubscriberNetworkPriority - the SubscriberNetworkPriority property value, null to unset.public Boolean getTcpNoDelay()
SolConnectionFactoryDefault: true
getTcpNoDelay in interface SolConnectionFactorypublic void setTcpNoDelay(Boolean tcpNoDelay)
SolConnectionFactoryDefault: true
setTcpNoDelay in interface SolConnectionFactorytcpNoDelay - the TcpNoDelay property value, null to unset.public Boolean getUseDefaultContext()
SolConnectionFactoryDefault: false (creates a new context for every connection)
getUseDefaultContext in interface SolConnectionFactorypublic void setUseDefaultContext(Boolean useDefaultContext)
SolConnectionFactoryDefault: false (creates a new context for every connection)
setUseDefaultContext in interface SolConnectionFactoryuseDefaultContext - the UseDefaultContext property value, null to unset.public String getUsername()
SolConnectionFactoryFormat: The maximum length is 189 bytes when encoded in UTF-8 (with SolOS-TR 6.1 and above)
getUsername in interface SolConnectionFactorypublic void setUsername(String username)
SolConnectionFactorySupportedProperty.AUTHENTICATION_SCHEME_CLIENT_CERTIFICATE
(Client Certificate based authentication) with SolConnectionFactory.setAuthenticationScheme(String)
Format: The maximum length is 189 bytes when encoded in UTF-8 (with SolOS-TR 6.1 and above).
setUsername in interface SolConnectionFactoryusername - the Username property value, null to unset.public String getVPN()
SolConnectionFactoryFormat: The maximum length is 32 bytes when encoded in UTF-8
Default: “”
getVPN in interface SolConnectionFactorypublic void setVPN(String vpn)
SolConnectionFactoryFormat: The maximum length is 32 bytes when encoded in UTF-8
Default: “”
setVPN in interface SolConnectionFactoryvpn - the VPN property value, null to unset.public Boolean getXA()
SolConnectionFactoryDefault: false
getXA in interface SolConnectionFactorypublic void setXA(Boolean xa)
public Boolean getXmlPayload()
SolConnectionFactoryDefault: true
getXmlPayload in interface SolConnectionFactorypublic void setXmlPayload(Boolean xmlPayload)
SolConnectionFactoryDefault: true
setXmlPayload in interface SolConnectionFactoryxmlPayload - the XmlPayload property value, null to unset.public String getUnknownPublisherFlowAction()
SolConnectionFactorygetUnknownPublisherFlowAction in interface SolConnectionFactorypublic void setUnknownPublisherFlowAction(String action)
SolConnectionFactoryDefault:
setUnknownPublisherFlowAction in interface SolConnectionFactoryaction - the UnknownPublisherFlowAction property value, null to unset.public void fromJNDIProperties(JNDIObject obj)
public Properties toProperties()
SolConnectionFactoryProperties instance.toProperties in interface SolConnectionFactoryProperties instance.public void fromProperties(Properties properties)
SolConnectionFactoryProperties instance.fromProperties in interface SolConnectionFactoryproperties - Values to set the ConnectionFactory properties from.public Reference getReference() throws NamingException
getReference in interface ReferenceableNamingExceptionpublic Object clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic String toEffectiveString()
SolConnectionFactorySolConnectionFactory.getEffectiveProperty(String) was used to retrieve them.toEffectiveString in interface SolConnectionFactorypublic static boolean isXAEnabled(JNDIObject obj, JMSProperties properties)
Copyright 2004-2021 Solace Corporation. All rights reserved.