| org.springframework.jms.connection.ConnectionFactoryUtils.ResourceFactory |
Callback interface for resource creation.
Serving as argument for the doGetTransactionalSession method.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Create a new JMS Connection for registration with a JmsResourceHolder.
| |||||||||||
Create a new JMS Session for registration with a JmsResourceHolder.
| |||||||||||
Fetch an appropriate Connection from the given JmsResourceHolder.
| |||||||||||
Fetch an appropriate Session from the given JmsResourceHolder.
| |||||||||||
Return whether to allow for a local JMS transaction that is synchronized with
a Spring-managed transaction (where the main transaction might be a JDBC-based
one for a specific DataSource, for example), with the JMS transaction
committing right after the main transaction.
| |||||||||||
Create a new JMS Connection for registration with a JmsResourceHolder.
| if thrown by JMS API methods | |
| JMSException |
Create a new JMS Session for registration with a JmsResourceHolder.
| con | the JMS Connection to create a Session for |
|---|
| if thrown by JMS API methods | |
| JMSException |
Fetch an appropriate Connection from the given JmsResourceHolder.
| holder | the JmsResourceHolder |
|---|
null if none found
Fetch an appropriate Session from the given JmsResourceHolder.
| holder | the JmsResourceHolder |
|---|
null if none found
Return whether to allow for a local JMS transaction that is synchronized with a Spring-managed transaction (where the main transaction might be a JDBC-based one for a specific DataSource, for example), with the JMS transaction committing right after the main transaction.