Bug 1242374 - @Inject UserTransaction doesn't work in the SwitchYard test case
Summary: @Inject UserTransaction doesn't work in the SwitchYard test case
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: JBoss Fuse Service Works 6
Classification: JBoss
Component: SwitchYard
Version: 6.0.0 GA
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: CR1
: ---
Assignee: tcunning
QA Contact: Matej Melko
URL:
Whiteboard:
Depends On:
Blocks: 1214695
TreeView+ depends on / blocked
 
Reported: 2015-07-13 08:25 UTC by Tadayoshi Sato
Modified: 2025-02-10 03:47 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-02-10 03:47:52 UTC
Type: Support Patch
Embargoed:


Attachments (Terms of Use)
reproducer (13.87 KB, application/zip)
2015-07-13 08:29 UTC, Tadayoshi Sato
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker ENTESB-3600 0 Major Closed [FSW 6.0.x] @Inject UserTransaction doesn't work in the SwitchYard test case 2019-01-07 16:07:09 UTC

Description Tadayoshi Sato 2015-07-13 08:25:39 UTC
Cloned from https://issues.jboss.org/browse/ENTESB-3600 for FSW_6.0_2_2015.

"@Inject UserTransaction" support, which was supposed to be introduced by SWITCHYARD-1114 in SY 1.1, doesn't seem to work as expected. When you try to test from 'SwitchYardRunner' a Bean service that has a UserTransaction field @Inject'ed like this:

===
    @Inject
    private UserTransaction ut;
===

the test throws the following error and fails:

===
org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [UserTransaction] with qualifiers [@Default] at injection point [[field] @Inject private com.redhat.samples.switchyard.GreetingServiceImpl.ut]
===

Comment 1 Tadayoshi Sato 2015-07-13 08:29:49 UTC
Created attachment 1051315 [details]
reproducer

Comment 2 JBoss JIRA Server 2015-07-15 22:26:43 UTC
Tom Cunningham <tcunning> updated the status of jira ENTESB-3600 to Resolved

Comment 3 JBoss JIRA Server 2015-07-16 01:46:28 UTC
Tadayoshi Sato <sato.tadayoshi> updated the status of jira ENTESB-3600 to Reopened

Comment 5 tcunning 2015-10-08 21:09:12 UTC
Backported SWITCHYARD-2481 and SWITCHYARD-2743 to 1.x branch.

Comment 6 JBoss JIRA Server 2015-10-08 21:09:49 UTC
Tom Cunningham <tcunning> updated the status of jira ENTESB-3600 to Resolved

Comment 9 Red Hat Bugzilla 2025-02-10 03:47:52 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.


Note You need to log in before you can comment on or make changes to this bug.