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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.