Bug 778956

Summary: Support synchronous call to InVM ESB service under JTA transaction context
Product: [JBoss] JBoss Enterprise SOA Platform 4 Reporter: Taro Yasuma <tyasuma>
Component: JBossESBAssignee: Default User <jbpapp-maint>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 4.3 CP01CC: imamura.yousuke, tm.igarashi
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-1386
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: SOA-1386 Environment:
Last Closed: 2010-01-08 12:27:14 UTC Type: Feature Request
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Taro Yasuma 2009-06-23 04:26:43 UTC
++ This bug is a clone of bug 778955 ++

Date of First Response: 2009-06-23 04:08:22
Help Desk Ticket Reference: https://enterprise.redhat.com/issue-tracker/298300
project_key: SOA

AS-IS)
Under JTA transaction context, assume you call ServiceInvoker#deliverSync() to call InVM ESB service. Then the call is in dead-locked because the operation regarding InVM queue is enlisted in the transaction.

As a workaround, you need to suspend the transaction before ServiceInvoker#deliverSync() but it's inconvenient that you always do this workaround in application.

TO-BE)
1. To have a configuration option on ESB to avoid enlisting operation regarding InVM queue in the transaction.

2. To have a configuration option on ESB to have no transaction boundaries between operation of calling ESB service and operations of processing ActionPipeline. I.e. an operation regarding ActionPipeline is enlisted in the same transaction of the operation of calling ESB service.
 
If you enable #2, it will be much flexible for usecase that having fine grained services but no transaction boundaries among them.

Comment 1 Taro Yasuma 2009-06-23 04:31:46 UTC
Link: Added: This issue depends JBESB-2631


Comment 3 Kevin Conner 2009-06-23 08:08:22 UTC
The associated ESB task has been rejected.