Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-3638

Regression: @Inject UserTransaction doesn't work in the SwitchYard test case

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • jboss-fuse-6.2.1
    • jboss-fuse-6.2.1
    • SwitchYard
    • None

    Description

      Make sure ENTESB-3600 doesn't happen on Fuse 6.2.1.

      For convenience, here is the original issue description in ENTESB-3600:
      =======================================================
      "@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]
      

      Attachments

        Issue Links

          Activity

            People

              tcunning@redhat.com Thomas Cunningham
              rhn-support-tasato Tadayoshi Sato
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: