Fuse 6 is no longer supported
As of February 2025, Red Hat Fuse 6 is no longer supported. If you are using Fuse 6, please upgrade to Red Hat build of Apache Camel.Questo contenuto non è disponibile nella lingua selezionata.
3.8. Composite Reference
A composite reference allows a component reference to be wired to a service outside the application. Similar to composite services, bindings are used with composite references to specify the communication method for invoking the external service.
Figure 3.9. Composite Reference
Example 3.8. Sample Corresponding XML
<sca:composite name="example" targetNamespace="urn:example:switchyard:1.0"> <sca:reference name="ReferenceB" multiplicity="0..1" promote="Routing/ServiceB"> <sca:interface.java interface="org.example.ServiceB"/> </sca:reference> </sca:composite>
<sca:composite name="example" targetNamespace="urn:example:switchyard:1.0">
<sca:reference name="ReferenceB" multiplicity="0..1" promote="Routing/ServiceB">
<sca:interface.java interface="org.example.ServiceB"/>
</sca:reference>
</sca:composite>