[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-9685) Seam JMS: CDI validator should be aware of JMS resource injections

Isaac Rooskov (JIRA) jira-events at lists.jboss.org
Tue Sep 27 23:53:26 EDT 2011


     [ https://issues.jboss.org/browse/JBIDE-9685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Isaac Rooskov updated JBIDE-9685:
---------------------------------

    Release Notes Text: A new feature has been added to the CDI validator making it aware of JMS resource injections. This ensures correct validation of JMS injections that also have a JMS destination. 


> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list