Package org.frankframework.jms
Class JmsRealm
java.lang.Object
org.frankframework.jms.JmsRealm
A JmsRealm is a definition of a JMS provider, and is kind of a utility
class to prevent the tedious work of repeatedly defining all parameters
to connect to a queue or topic.
This class is not an extension of JNDIBase, which would be logical, because in the JMSBase class the function PropertyUtils.copyProperties is used, which cannot handle this.
This class is not an extension of JNDIBase, which would be logical, because in the JMSBase class the function PropertyUtils.copyProperties is used, which cannot handle this.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcopies matching properties to any other classstatic voidcopies matching properties from a JmsRealm to any other classvoidsetAliasForRealm(String jmsRealmName) Includes another realm into this onevoidsetAuthAlias(String string) voidsetAuthentication(String authentication) voidsetCredentials(String credentials) voidsetDatasourceName(String string) voidsetInitialContextFactoryName(String initialContextFactoryName) voidsetJndiAuthAlias(String string) voidsetJndiContextPrefix(String string) voidsetJndiProperties(String jndiProperties) voidsetPrincipal(String string) voidsetProviderURL(String providerURL) voidsetQueueConnectionFactoryName(String newQueueConnectionFactoryName) Set the name of the QueueConnectionFactoryvoidsetRealmName(String newName) Set the name of this realmvoidsetSecurityProtocol(String securityProtocol) voidsetTopicConnectionFactoryName(String newTopicConnectionFactoryName) Set the name of the TopicConnectionFactoryvoidsetUrlPkgPrefixes(String urlPkgPrefixes) voidsetUserTransactionUrl(String string) toString()ThetoString()method retrieves its value by reflection.
-
Constructor Details
-
JmsRealm
public JmsRealm()
-
-
Method Details
-
setAliasForRealm
Includes another realm into this one -
copyRealm
copies matching properties to any other class -
copyRealm
copies matching properties from a JmsRealm to any other class- Throws:
ConfigurationException- See Also:
-
toString
ThetoString()method retrieves its value by reflection. Passwords are hidden, and the log field is excluded. -
setRealmName
Set the name of this realm -
getRealmName
-
getAuthentication
-
getCredentials
-
getInitialContextFactoryName
-
getProviderURL
-
retrieveConnectionFactoryName
-
setQueueConnectionFactoryName
Set the name of the QueueConnectionFactory -
getQueueConnectionFactoryName
-
setTopicConnectionFactoryName
Set the name of the TopicConnectionFactory -
getTopicConnectionFactoryName
-
setDatasourceName
-
getDatasourceName
-
setSecurityProtocol
-
getSecurityProtocol
-
setUrlPkgPrefixes
-
getUrlPkgPrefixes
-
setAuthentication
-
setCredentials
-
setInitialContextFactoryName
-
setProviderURL
-
setUserTransactionUrl
-
getUserTransactionUrl
-
setPrincipal
-
getPrincipal
-
setJndiAuthAlias
-
getJndiAuthAlias
-
setAuthAlias
-
getAuthAlias
-
setJndiContextPrefix
-
getJndiContextPrefix
-
setJndiProperties
-
getJndiProperties
-