Summary of Elements in this Folder

The following elements are available in this folder:

ElementPackage and Description
pub.ehcache.transaction:startTransactionWxEhcache. Starts an explicit transaction
pub.ehcache.transaction:commitTransactionWxEhcache. Commits an explicit transaction
pub.ehcache.transaction:rollbackTransactionWxEhcache.Rolls back an explicit transaction
pub.ehcache.transaction:setTransactionTimeoutWxEhcache. Manually sets a transaction timeout interval for explicit transactions

pub.ehcache.transaction:startTransaction

WxEhcache. Starts an explicit transaction

Input Parameters

startTransactionInput Document Information for each start transaction request

KeyDescription
transactionNameString Optional.

Specifies the name of the transaction to be started. If you leave this parameter blank, Integration Server will generate a name for you. In most implementations it is not necessary to provide your own transaction name.

transactionTypeString

Specifies the type of the transaction to be started. Allowed values are local, xa and xa_strict

cacheManagerNameString Optional.

Specifies the name of cache manager whose cache is participating in the transaction. This input is mandatory when transaction type is LOCAL. Otherwise optional

timeoutSecondsInteger Optional.

The number of seconds that the explicit transaction stays open before the transaction manager marks it for rollback. If you leave this parameter blank, Integration Server will use default value from system property settings

Output Parameters

startTransactionOutput Document Information for each start transaction request

KeyDescription
transactionNameString

The name of the transaction the service just started

transactionTypeString

The type of the transaction the service just started. Expected values are local, xa and xa_strict


pub.ehcache.transaction:commitTransaction

WxEhcache. Commits an explicit transaction

Input Parameters

commitTransactionInput Document Information for each commit request

KeyDescription
transactionNameString

The name of an explicit transaction that you want to commit. The transactionName must have been previously used in a call to pub.ehcache.transaction:startTransaction. This value must be mapped from the most recent pub.ehcache.transaction:startTransaction that has not previously been committed or rolled back.

transactionTypeString

The type of an explicit transaction that you want to commit. The transactionType must have been previously used in a call to pub.ehcache.transaction:startTransaction. This value must be mapped from the most recent pub.ehcache.transaction:startTransaction that has not previously been committed or rolled back.

Output Parameters

None

pub.ehcache.transaction:rollbackTransaction

WxEhcache. Rolls back an explicit transaction

Input Parameters

rollbackTransactionInput Document Information for each rollback request

KeyDescription
transactionNameString

The name of an explicit transaction that you want to rollback. The transactionName must have been previously used in a call to pub.ehcache.transaction:startTransaction. This value must be mapped from the most recent pub.ehcache.transaction:startTransaction that has not previously been committed or rolled back.

transactionTypeString

The type of an explicit transaction that you want to rollback. The transactionType must have been previously used in a call to pub.ehcache.transaction:startTransaction. This value must be mapped from the most recent pub.ehcache.transaction:startTransaction that has not previously been committed or rolled back.

Output Parameters

None

pub.ehcache.transaction:setTransactionTimeout

WxEhcache. Manually sets a transaction timeout interval for explicit transactions.

Input Parameters

timeoutSecondsInteger

The number of seconds that the explicit transaction stays open before the transaction manager marks it for rollback. If you leave this parameter blank, Integration Server will use default value from system property settings

transactionNameString

The name of an explicit transaction for which you want to set timeout. The transactionName must have been previously used in a call to pub.ehcache.transaction:startTransaction. This value must be mapped from the most recent pub.ehcache.transaction:startTransaction that has not previously been committed or rolled back.

transactionTypeString

The type of an explicit transaction for which you want to set timeout. The transactionType must have been previously used in a call to pub.ehcache.transaction:startTransaction. This value must be mapped from the most recent pub.ehcache.transaction:startTransaction that has not previously been committed or rolled back.

Output Parameters

None