How to roll back a tansaction in action pipeline in case of jms-jca-provider

Solution Unverified - Updated -

Issue

I want to roll back a transaction in action pipeline, which is introduced by <jms-jca-provider>. Can I use org.jboss.soa.esb.common.TransactionStrategy?

TransactionStrategy strategy = TransactionStrategy.getTransactionStrategy(true);
strategy.rollbackOnly();

Environment

  • JBoss Enterprise SOA Platform (SOA-P) 5.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content