public class JMSConnectionFactory extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
JMSConnectionFactory.JMSPooledConnectionHolder
Holder class for connections and its session/producer.
|
| Constructor and Description |
|---|
JMSConnectionFactory(Hashtable<String,String> parameters,
String name,
String destination,
int maxConcurrentConnections)
Digest a JMS CF definition from an axis2.xml 'Parameter' and construct
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
javax.jms.Connection |
createConnection() |
JMSConnectionFactory.JMSPooledConnectionHolder |
getConnectionFromPool() |
Context |
getContext()
Get cached InitialContext
|
javax.jms.Destination |
getDestination()
Lookup a Destination using this JMS CF definitions and JNDI name
|
String |
getReplyDestinationType()
Get the reply destinationName type from the PARAM_REPLY_DEST_TYPE parameter
|
String |
getReplyToDestination()
Get the reply Destination from the PARAM_REPLY_DESTINATION parameter
|
boolean |
isJmsSpec11()
Should the JMS 1.1 API be used? - defaults to yes
|
Boolean |
isQueue()
Return the type of the JMS CF Destination
|
void |
returnPooledConnection(JMSConnectionFactory.JMSPooledConnectionHolder pooledConnection) |
public void returnPooledConnection(JMSConnectionFactory.JMSPooledConnectionHolder pooledConnection)
public Context getContext()
public javax.jms.Destination getDestination()
public String getReplyToDestination()
public String getReplyDestinationType()
public boolean isJmsSpec11()
public Boolean isQueue()
public javax.jms.Connection createConnection()
public JMSConnectionFactory.JMSPooledConnectionHolder getConnectionFromPool()
public void close()
Copyright © 2015 WSO2. All rights reserved.