-
Feature Request
-
Resolution: Done
-
Major
-
None
-
Documentation (Ref Guide, User Guide, etc.)
-
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.
-
Documented as Resolved Issue
See http://docs.jboss.org/seam/3/jms/latest/reference/en-US/html/resource-injection.html
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
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.
- is related to
-
JBDS-1721 JBDS50_0015: [DROPPING---COMMIT] (Dev) Seam 3 (ChangeRequest)
- Closed