[
https://issues.jboss.org/browse/JBIDE-9685?page=com.atlassian.jira.plugin...
]
Alexey Kazakov updated JBIDE-9685:
----------------------------------
Description:
See
http://docs.jboss.org/seam/3/jms/latest/reference/en-US/html/resource-inj...
{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.cd...
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.
was:
See
http://docs.jboss.org/seam/3/jms/latest/reference/en-US/html/resource-inj...
{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.
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-inj...
{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.cd...
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