Package org.frankframework.jms
Class AbstractMessagingSourceFactory
java.lang.Object
org.frankframework.jms.AbstractMessagingSourceFactory
- Direct Known Subclasses:
JmsMessagingSourceFactory
Factory for
MessagingSource
s, to share them for JMS Objects that can use the same.- Author:
- Gerrit van Brakel
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract jakarta.jms.ConnectionFactory
createConnectionFactory
(Context context, String id, boolean createDestination) protected abstract Context
protected MessagingSource
createMessagingSource
(String id, String authAlias, boolean createDestination) protected jakarta.jms.ConnectionFactory
getConnectionFactory
(Context context, String id, boolean createDestination) protected Context
getMessagingSource
(String id, String authAlias, boolean createDestination) protected abstract Map<String,
MessagingSource>
-
Field Details
-
log
protected org.apache.logging.log4j.Logger log
-
-
Constructor Details
-
AbstractMessagingSourceFactory
public AbstractMessagingSourceFactory()
-
-
Method Details
-
getMessagingSourceMap
-
createContext
- Throws:
NamingException
-
createConnectionFactory
protected abstract jakarta.jms.ConnectionFactory createConnectionFactory(Context context, String id, boolean createDestination) throws IbisException, NamingException - Throws:
IbisException
NamingException
-
createMessagingSource
protected MessagingSource createMessagingSource(String id, String authAlias, boolean createDestination) throws IbisException - Throws:
IbisException
-
getMessagingSource
public MessagingSource getMessagingSource(String id, String authAlias, boolean createDestination) throws IbisException - Throws:
IbisException
-
getContext
- Throws:
IbisException
-
getConnectionFactory
protected jakarta.jms.ConnectionFactory getConnectionFactory(Context context, String id, boolean createDestination) throws IbisException - Throws:
IbisException
-