Class JmsRealm

java.lang.Object
org.frankframework.jms.JmsRealm

@FrankDocGroup(OTHER) public class JmsRealm extends Object
A JmsRealm is a definition of a JMS provider, and is kind of a utility class to prevent the tedeous 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.
Author:
Johan Verrips IOS
See Also:
  • Constructor Details

    • JmsRealm

      public JmsRealm()
  • Method Details

    • setAliasForRealm

      public void setAliasForRealm(String jmsRealmName)
      Includes another realm into this one
    • copyRealm

      public void copyRealm(Object destination)
      copies matching properties to any other class
    • copyRealm

      public static void copyRealm(Object destination, String jmsRealmName) throws ConfigurationException
      copies matching properties from a JmsRealm to any other class
      Throws:
      ConfigurationException
      See Also:
    • toString

      public String toString()
      The toString() method retrieves its value by reflection.
      Overrides:
      toString in class Object
      See Also:
      • ToStringBuilder.reflectionToString(java.lang.Object)
    • setRealmName

      public void setRealmName(String newName)
      Set the name of this realm
    • getRealmName

      public String getRealmName()
    • getAuthentication

      public String getAuthentication()
    • getCredentials

      public String getCredentials()
    • getInitialContextFactoryName

      public String getInitialContextFactoryName()
    • getProviderURL

      public String getProviderURL()
    • retrieveConnectionFactoryName

      public String retrieveConnectionFactoryName()
    • setQueueConnectionFactoryName

      public void setQueueConnectionFactoryName(String newQueueConnectionFactoryName)
      Set the name of the QueueConnectionFactory
    • getQueueConnectionFactoryName

      public String getQueueConnectionFactoryName()
    • setTopicConnectionFactoryName

      public void setTopicConnectionFactoryName(String newTopicConnectionFactoryName)
      Set the name of the TopicConnectionFactory
    • getTopicConnectionFactoryName

      public String getTopicConnectionFactoryName()
    • setDatasourceName

      public void setDatasourceName(String string)
    • getDatasourceName

      public String getDatasourceName()
    • setSecurityProtocol

      public void setSecurityProtocol(String securityProtocol)
    • getSecurityProtocol

      public String getSecurityProtocol()
    • setUrlPkgPrefixes

      public void setUrlPkgPrefixes(String urlPkgPrefixes)
    • getUrlPkgPrefixes

      public String getUrlPkgPrefixes()
    • setAuthentication

      public void setAuthentication(String authentication)
    • setCredentials

      public void setCredentials(String credentials)
    • setInitialContextFactoryName

      public void setInitialContextFactoryName(String initialContextFactoryName)
    • setProviderURL

      public void setProviderURL(String providerURL)
    • setUserTransactionUrl

      public void setUserTransactionUrl(String string)
    • getUserTransactionUrl

      public String getUserTransactionUrl()
    • setPrincipal

      public void setPrincipal(String string)
    • getPrincipal

      public String getPrincipal()
    • setJndiAuthAlias

      public void setJndiAuthAlias(String string)
    • getJndiAuthAlias

      public String getJndiAuthAlias()
    • setAuthAlias

      public void setAuthAlias(String string)
    • getAuthAlias

      public String getAuthAlias()
    • setJndiContextPrefix

      public void setJndiContextPrefix(String string)
    • getJndiContextPrefix

      public String getJndiContextPrefix()
    • setJndiProperties

      public void setJndiProperties(String jndiProperties)
    • getJndiProperties

      public String getJndiProperties()