[
https://issues.apache.org/jira/browse/KARAF-3664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14494181#comment-14494181
]
ASF GitHub Bot commented on KARAF-3664:
---------------------------------------
GitHub user albertocsm opened a pull request:
https://github.com/apache/karaf-cellar/pull/5
[KARAF-3664] Added support for DOSGi exception pass through between client
and services
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/albertocsm/karaf-cellar KARAF-3664
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/karaf-cellar/pull/5.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #5
----
commit b4a250411ff664ee559121dac026550b4348bab4
Author: Alberto São Marcos <[email protected]>
Date: 2015-04-14T14:45:29Z
[KARAF-3664] Added support for DOSGi exception pass through between client
and services
----
> DOSGi exception handling and propagation
> ----------------------------------------
>
> Key: KARAF-3664
> URL: https://issues.apache.org/jira/browse/KARAF-3664
> Project: Karaf
> Issue Type: Improvement
> Components: cellar-dosgi
> Affects Versions: 4.0.0.M2
> Environment: Ubuntu 14.04.1 LTS
> Reporter: Alberto São Marcos
> Priority: Critical
> Labels: osgi
>
> An exception being thrown by a remote service invocation is not propagated to
> the "client". Instead, the client awaits a fixed period of time (10 secs) for
> a response.
> This behavior as two major disadvantages:
> # it diminishes the interoperability between modules, as a client module will
> not get a precise indication if anything went wrong with the remote call;
> # it can lead to unresponsive (client) services if some shared component
> starts to miss behave. IMHO, if its going to fail, it should fail fast
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)