karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alberto São Marcos (JIRA) <j...@apache.org>
Subject [jira] [Created] (KARAF-3664) DOSGi exception handling and propagation
Date Tue, 14 Apr 2015 14:38:14 GMT
Alberto São Marcos created KARAF-3664:

             Summary: 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

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

View raw message