[switchyard-issues] [JBoss JIRA] (SWITCHYARD-632) CDI references are not injected if the service is not contained in the project or is not referenced by another service

Rob Cernich (JIRA) jira-events at lists.jboss.org
Mon Jan 30 12:45:48 EST 2012


Rob Cernich created SWITCHYARD-632:
--------------------------------------

             Summary: CDI references are not injected if the service is not contained in the project or is not referenced by another service
                 Key: SWITCHYARD-632
                 URL: https://issues.jboss.org/browse/SWITCHYARD-632
             Project: SwitchYard
          Issue Type: Bug
          Components: component-bean, deployment
            Reporter: Rob Cernich
            Assignee: Rob Cernich


This prohibits services from being referenced by non-SwitchYard code.

Any @Reference within a project should cause a component to be generated within the switchyard.xml file which defines the reference.

In addition to the above, a test case should be added to ensure the reference is resolved even when no other CDI services exist.  For example:
1. Create a Camel or Rule service.
2. Create a Java class that references the service.
3. Verify that the reference is injected correctly.


--
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 switchyard-issues mailing list