[
https://issues.apache.org/jira/browse/TUSCANY-1560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12522164
]
Raymond Feng commented on TUSCANY-1560:
---------------------------------------
Please verify if you hit the 2nd case. If so, it's a test case issue and you
need to pass the service name for the getService() as suggested by Florian,
Thanks,
Raymond
> A component with multiple services does not work.
> -------------------------------------------------
>
> Key: TUSCANY-1560
> URL: https://issues.apache.org/jira/browse/TUSCANY-1560
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Core Runtime
> Affects Versions: Java-SCA-Next
> Environment: windows
> Reporter: Zhenghui Lee
> Priority: Critical
> Fix For: Java-SCA-0.99
>
>
> In code org.apache.tuscany.sca.core.component.ComponentContextImpl, at line
> 130 :
> if (regularServices.size() != 1) {
> throw new ServiceRuntimeException("The component doesn't have
> exactly one service");
> }
> multiple services per component will be failed by above checking.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]