class that holds jms connections and sessions
Constructor and description |
---|
JMSConnectionHolder
(JMSEndpoint jmsEndpoint, Hermes hermes, boolean isTopicDomain, java.lang.String clientID, java.lang.String username, java.lang.String password)
|
Type Params | Return Type | Name and description |
---|---|---|
|
void |
closeAll() closes sessions and connections |
|
java.lang.String |
getClientID() |
|
java.sql.Connection |
getConnection() |
|
ConnectionFactory |
getConnectionFactory() |
|
Hermes |
getHermes() |
|
JMSEndpoint |
getJmsEndpoint() |
|
java.util.Queue |
getQueue(java.lang.String name) return queue by name |
|
Session |
getSession()
|
|
Topic |
getTopic(java.lang.String name) return topic by name |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
closes sessions and connections
return queue by name
return topic by name