Class MessagingSource

java.lang.Object
org.frankframework.jms.MessagingSource
Direct Known Subclasses:
JmsMessagingSource

public class MessagingSource extends Object
Generic Source for JMS connection, to be shared for JMS Objects that can use the same.
Author:
Gerrit van Brakel
  • Field Details

  • Constructor Details

  • Method Details

    • close

      public boolean close() throws IbisException
      Throws:
      IbisException
    • increaseReferences

      public void increaseReferences()
    • decreaseReferences

      public void decreaseReferences()
    • getContext

      public Context getContext()
    • getConnectionFactory

      public javax.jms.ConnectionFactory getConnectionFactory()
    • getManagedConnectionFactory

      public Object getManagedConnectionFactory()
      Retrieve the 'original' ConnectionFactory, used by the console (to get the Tibco QCF) in order to display queue message count.
    • getPhysicalName

      public String getPhysicalName()
    • createConnection

      protected javax.jms.Connection createConnection() throws javax.jms.JMSException
      Throws:
      javax.jms.JMSException
    • createSession

      public javax.jms.Session createSession(boolean transacted, int acknowledgeMode) throws IbisException
      Throws:
      IbisException
    • releaseSession

      public void releaseSession(javax.jms.Session session)
    • connectionsArePooled

      protected boolean connectionsArePooled()
    • sessionsArePooled

      public boolean sessionsArePooled()
    • useSingleDynamicReplyQueue

      protected boolean useSingleDynamicReplyQueue()
    • cleanUpOnClose

      public boolean cleanUpOnClose()
    • createDestination

      public boolean createDestination()
    • getDynamicReplyQueue

      public javax.jms.Queue getDynamicReplyQueue(javax.jms.Session session) throws javax.jms.JMSException
      Throws:
      javax.jms.JMSException
    • releaseDynamicReplyQueue

      public void releaseDynamicReplyQueue(javax.jms.Queue replyQueue) throws JmsException
      Throws:
      JmsException
    • getLogPrefix

      protected String getLogPrefix()
    • getAuthAlias

      public String getAuthAlias()
    • setAuthAlias

      public void setAuthAlias(String authAlias)
    • getId

      public String getId()