public class FFMQConnectionFactory extends Object implements javax.jms.ConnectionFactory, Serializable, Referenceable
Implementation of a JMS ConnectionFactory
| Modifier and Type | Field and Description |
|---|---|
protected String |
clientID |
protected Hashtable<String,Object> |
environment |
| Constructor and Description |
|---|
FFMQConnectionFactory()
Constructor
|
FFMQConnectionFactory(Hashtable<String,Object> environment)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
javax.jms.Connection |
createConnection() |
javax.jms.Connection |
createConnection(String userName,
String password) |
protected int |
getIntProperty(String propertyName,
int defaultValue) |
protected URI |
getProviderURI()
Lookup the provider URI
|
String |
getProviderURL() |
Reference |
getReference() |
String |
getSecurityCredentials() |
String |
getSecurityPrincipal() |
protected String |
getStringProperty(String propertyName,
String defaultValue) |
void |
setProviderURL(String providerURL) |
void |
setSecurityCredentials(String securityCredentials) |
void |
setSecurityPrincipal(String securityPrincipal) |
protected String clientID
protected final String getStringProperty(String propertyName, String defaultValue)
protected final int getIntProperty(String propertyName, int defaultValue)
public String getSecurityPrincipal()
public void setSecurityPrincipal(String securityPrincipal)
public String getSecurityCredentials()
public void setSecurityCredentials(String securityCredentials)
public String getProviderURL()
public void setProviderURL(String providerURL)
public final javax.jms.Connection createConnection()
throws javax.jms.JMSException
createConnection in interface javax.jms.ConnectionFactoryjavax.jms.JMSExceptionpublic final javax.jms.Connection createConnection(String userName, String password) throws javax.jms.JMSException
createConnection in interface javax.jms.ConnectionFactoryjavax.jms.JMSExceptionprotected final URI getProviderURI() throws javax.jms.JMSException
javax.jms.JMSExceptionpublic final Reference getReference() throws NamingException
getReference in interface ReferenceableNamingExceptionCopyright © 2021. All rights reserved.