public static interface DestinationFactoryUtils.ResourceFactory
doGetTransactionalTid
method.Modifier and Type | Method and Description |
---|---|
com.sap.conn.jco.JCoDestination |
createDestination()
Create a new JCoDestination for registration with a JcoResourceHolder.
|
String |
createTid(com.sap.conn.jco.JCoDestination destination)
Create a new Tid for registration with a JcoResourceHolder.
|
com.sap.conn.jco.JCoDestination |
getDestination(JcoResourceHolder holder)
Fetch an appropriate JCoDestination from the given JcoResourceHolder.
|
String |
getTid(JcoResourceHolder holder)
Fetch an appropriate Tid from the given JcoResourceHolder.
|
boolean |
isSynchedLocalTransactionAllowed()
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.
|
String getTid(JcoResourceHolder holder)
holder
- the JcoResourceHoldernull
if none foundcom.sap.conn.jco.JCoDestination getDestination(JcoResourceHolder holder)
holder
- the JcoResourceHoldernull
if none foundcom.sap.conn.jco.JCoDestination createDestination() throws com.sap.conn.jco.JCoException
com.sap.conn.jco.JCoException
String createTid(com.sap.conn.jco.JCoDestination destination) throws com.sap.conn.jco.JCoException
destination
- the JCoDestination to create a String forcom.sap.conn.jco.JCoException
- if thrown by API methodsboolean isSynchedLocalTransactionAllowed()
Copyright © 2023 Frank!Framework. All rights reserved.