Package org.frankframework.jms
Class JmsMessagingSource
java.lang.Object
org.frankframework.jms.MessagingSource
org.frankframework.jms.JmsMessagingSource
MessagingSource for JMS connections.- Since:
- 4.4
- Author:
- Gerrit van Brakel
-
Field Summary
Fields inherited from class org.frankframework.jms.MessagingSource
log -
Constructor Summary
ConstructorsConstructorDescriptionJmsMessagingSource(String connectionFactoryName, String jndiContextPrefix, Context context, jakarta.jms.ConnectionFactory connectionFactory, Map<String, MessagingSource> messagingSourceMap, String authAlias, boolean createDestination, Map<String, String> proxiedDestinationNames) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.jms.DestinationcreateDestination(String destinationName) Get or create the JMS destination.jakarta.jms.DestinationlookupDestination(String destinationName) Misleading name, it attempts to lookup the destination in the JNDI, but falls back tocreateDestination(String)ifMessagingSource.createDestination()(jms.createDestination) istrue.Methods inherited from class org.frankframework.jms.MessagingSource
cleanUpOnClose, close, connectionsArePooled, createConnection, createDestination, createSession, getContext, getDynamicReplyQueue, getLogPrefix, increaseReferences, releaseDynamicReplyQueue, releaseSession, sessionsArePooled, useSingleDynamicReplyQueue
-
Constructor Details
-
JmsMessagingSource
-
-
Method Details
-
lookupDestination
public jakarta.jms.Destination lookupDestination(String destinationName) throws JmsException, NamingException Misleading name, it attempts to lookup the destination in the JNDI, but falls back tocreateDestination(String)ifMessagingSource.createDestination()(jms.createDestination) istrue.- Throws:
JmsExceptionNamingException
-
createDestination
Get or create the JMS destination.- Throws:
JmsException
-