Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-1783

Injection of MessageContext broken

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 7.1.0.Beta1
    • 7.0.1.Final
    • EJB
    • None

      @Resource
      private MessageDrivenContext ctx;
      

      leads to

      Can't handle @Resource for ENC name: com.test.testMDB/ctx on class com.test.testMDB since it's missing a "lookup" (or "mappedName") value and isn't of any known type
      

              sdouglas1@redhat.com Stuart Douglas (Inactive)
              rhn-engineering-cdewolf Carlo de Wolf
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: