Bug 969011
Summary: | SwitchYard bean services are not properly integrated with CDI support in JBDS | ||
---|---|---|---|
Product: | [JBoss] JBoss Fuse Service Works 6 | Reporter: | Jiri Pechanec <jpechane> |
Component: | Tooling | Assignee: | Rob Cernich <rcernich> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Jiri Pechanec <jpechane> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.0.0 GA | CC: | jsedlace, kconner, soa-p-jira |
Target Milestone: | ER1 | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | Type: | Bug | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jiri Pechanec
2013-05-30 13:18:20 UTC
Rob Cernich <rcernich> updated the status of jira SWITCHYARD-1516 to Coding In Progress Rob Cernich <rcernich> made a comment on jira SWITCHYARD-1516 a) can be fixed by simply telling cdi to ignore validation. Should probably do the same for Message. b) is a bit tricky because there is not necessarily a corresponding @Service (e.g. if the service being referenced is implemented as a Camel route). Furthermore, it is possible that the service being injected implements a different, but compatible interface (e.g. WSDL vs. Java). As a bandaid, I can tell cdi to ignore validation of @Reference (and probably @Property too). Keith Babo <kbabo> made a comment on jira SWITCHYARD-1516 I'm OK with (a) provided it only applies to our stuff. Not sure if that's possible. Yeah, the solution for (b) would have to synthesize a bean just for validation, sort of like we generate a proxy at runtime to satisfy the dependency. Rob Cernich <rcernich> made a comment on jira SWITCHYARD-1516 Regarding (a), I don't think it's very likely that somebody would be implementing either Context or Message _and_ would be injecting those _and_ would have the SwitchYard tools installed. I don't think SwitchYard users should be implementing those interfaces, so we're probably safe telling the CDI tools to ignore validating those injection points. If we _really_ think we need this, I can see about disabling validation only for SY projects. Rob Cernich <rcernich> made a comment on jira SWITCHYARD-1516 Tell CDI tools to ignore validation of injection points annotated with @Reference or @Property or of types org.switchyard.Context or org.switchyard.Message. Keith Babo <kbabo> made a comment on jira SWITCHYARD-1516 pushed Verified in ER2 Keith Babo <kbabo> updated the status of jira SWITCHYARD-1516 to Closed |