public class JndiConnectionFactory
extends org.springframework.jms.connection.DelegatingConnectionFactory
implements org.mule.runtime.api.lifecycle.Lifecycle
| Constructor and Description |
|---|
JndiConnectionFactory() |
| Modifier and Type | Method and Description |
|---|---|
javax.jms.JMSContext |
createContext() |
javax.jms.JMSContext |
createContext(int sessionMode) |
javax.jms.JMSContext |
createContext(String userName,
String password) |
javax.jms.JMSContext |
createContext(String userName,
String password,
int sessionMode) |
void |
dispose() |
String |
getConnectionFactoryJndiName() |
Optional<javax.jms.Destination> |
getJndiDestination(String name) |
LookupJndiDestination |
getLookupDestination() |
JndiNameResolverProvider |
getNameResolverProvider() |
void |
initialise() |
void |
start() |
void |
stop() |
afterPropertiesSet, createConnection, createConnection, createQueueConnection, createQueueConnection, createTopicConnection, createTopicConnection, getTargetConnectionFactory, setShouldStopConnections, setTargetConnectionFactory, shouldStoppublic void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableorg.mule.runtime.api.lifecycle.InitialisationExceptionpublic void start()
throws org.mule.runtime.api.exception.MuleException
start in interface org.mule.runtime.api.lifecycle.Startableorg.mule.runtime.api.exception.MuleExceptionpublic void stop()
throws org.mule.runtime.api.exception.MuleException
stop in interface org.mule.runtime.api.lifecycle.Stoppableorg.mule.runtime.api.exception.MuleExceptionpublic void dispose()
dispose in interface org.mule.runtime.api.lifecycle.Disposablepublic javax.jms.JMSContext createContext()
createContext in interface javax.jms.ConnectionFactorycreateContext in class org.springframework.jms.connection.DelegatingConnectionFactorypublic javax.jms.JMSContext createContext(String userName, String password)
createContext in interface javax.jms.ConnectionFactorycreateContext in class org.springframework.jms.connection.DelegatingConnectionFactorypublic javax.jms.JMSContext createContext(String userName, String password, int sessionMode)
createContext in interface javax.jms.ConnectionFactorycreateContext in class org.springframework.jms.connection.DelegatingConnectionFactorypublic javax.jms.JMSContext createContext(int sessionMode)
createContext in interface javax.jms.ConnectionFactorycreateContext in class org.springframework.jms.connection.DelegatingConnectionFactorypublic String getConnectionFactoryJndiName()
public LookupJndiDestination getLookupDestination()
public JndiNameResolverProvider getNameResolverProvider()
Copyright © 2020. All rights reserved.