Package org.frankframework.jms
Class MessagingSource
java.lang.Object
org.frankframework.jms.MessagingSource
- Direct Known Subclasses:
JmsMessagingSource
Generic Source for JMS connection, to be shared for JMS Objects that can use the same.
- Author:
- Gerrit van Brakel
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
MessagingSource
(String id, Context context, jakarta.jms.ConnectionFactory connectionFactory, Map<String, MessagingSource> siblingMap, String authAlias, boolean createDestination) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
close()
protected boolean
protected jakarta.jms.Connection
boolean
jakarta.jms.Session
createSession
(boolean transacted, int acknowledgeMode) void
jakarta.jms.ConnectionFactory
jakarta.jms.Queue
getDynamicReplyQueue
(jakarta.jms.Session session) getId()
protected String
Retrieve the 'original' ConnectionFactory, used by the console (to get the Tibco QCF) in order to display queue message count.void
void
releaseDynamicReplyQueue
(jakarta.jms.Queue replyQueue) void
releaseSession
(jakarta.jms.Session session) boolean
void
setAuthAlias
(String authAlias) protected boolean
-
Field Details
-
CLOSE
- See Also:
-
log
protected org.apache.logging.log4j.Logger log
-
-
Constructor Details
-
MessagingSource
-
-
Method Details
-
close
- Throws:
IbisException
-
increaseReferences
public void increaseReferences() -
decreaseReferences
public void decreaseReferences() -
getContext
-
getConnectionFactory
public jakarta.jms.ConnectionFactory getConnectionFactory() -
getManagedConnectionFactory
Retrieve the 'original' ConnectionFactory, used by the console (to get the Tibco QCF) in order to display queue message count. -
getPhysicalName
-
createConnection
protected jakarta.jms.Connection createConnection() throws jakarta.jms.JMSException- Throws:
jakarta.jms.JMSException
-
createSession
public jakarta.jms.Session createSession(boolean transacted, int acknowledgeMode) throws IbisException - Throws:
IbisException
-
releaseSession
public void releaseSession(jakarta.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 jakarta.jms.Queue getDynamicReplyQueue(jakarta.jms.Session session) throws jakarta.jms.JMSException - Throws:
jakarta.jms.JMSException
-
releaseDynamicReplyQueue
- Throws:
JmsException
-
getLogPrefix
-
getAuthAlias
-
setAuthAlias
-
getId
-