[jboss-jira] [JBoss JIRA] Commented: (AS7-1783) Injection of MessageContext broken
Bernd Eckenfels (JIRA)
jira-events at lists.jboss.org
Mon Sep 19 11:14:26 EDT 2011
[ https://issues.jboss.org/browse/AS7-1783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12629154#comment-12629154 ]
Bernd Eckenfels commented on AS7-1783:
--------------------------------------
Workaround:
{code}@Resource(type=EJBContext.class)
MessageDrivenContext mdc;{code}
> Injection of MessageContext broken
> ----------------------------------
>
> Key: AS7-1783
> URL: https://issues.jboss.org/browse/AS7-1783
> Project: Application Server 7
> Issue Type: Bug
> Components: EJB
> Affects Versions: 7.0.1.Final
> Reporter: Carlo de Wolf
> Priority: Critical
> Fix For: 7.1.0.CR1
>
>
> {code}
> @Resource
> private MessageDrivenContext ctx;
> {code}
> leads to
> {noformat}
> 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
> {noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list