[jbosstools-issues] [JBoss JIRA] (JBIDE-9685) Seam JMS: CDI validator should be aware of JMS resource injections
Jaroslav Jankovič (JIRA)
jira-events at lists.jboss.org
Wed Apr 25 11:19:26 EDT 2012
[ https://issues.jboss.org/browse/JBIDE-9685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jaroslav Jankovič closed JBIDE-9685.
------------------------------------
Verified with JBT 3.3.0.v20120423-2057-H4719-Beta3.
> Seam JMS: CDI validator should be aware of JMS resource injections
> ------------------------------------------------------------------
>
> Key: JBIDE-9685
> URL: https://issues.jboss.org/browse/JBIDE-9685
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: CDI extensions
> Reporter: Alexey Kazakov
> Assignee: Alexey Kazakov
> Labels: new_and_noteworthy
> Fix For: 3.3.0.M4
>
>
> See http://docs.jboss.org/seam/3/jms/latest/reference/en-US/html/resource-injection.html
> {code}
> The following JMS resources are now available for injection:
> javax.jms.Connection
> javax.jms.Session
> Destination-based resources:
> javax.jms.Topic
> javax.jms.Queue
> javax.jms.TopicPublisher
> javax.jms.QueueSender
> javax.jms.TopicSubscriber
> javax.jms.QueueReceiver
> {code}
> If an injection has any type from the list above and also it has a qualifier JmsDestination then it should be ignored by CDI validator.
> Steps to verify:
> EXECUTE: Import https://svn.jboss.org/repos/jbosstools/trunk/cdi/tests/org.jboss.tools.cdi.seam.core.test/projects/SeamCoreTest
> EXECUTE: Open src/org/jboss/tools/seam/jms/validation/test/JmsResourceInjection.java
> ASSERT: There is a problem marker in line 17: @Inject Queue broken;
> ASSERT: There are no problem in other lines.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list