ODEServer must not try to hold references on ExternalServices
-------------------------------------------------------------

                 Key: ODE-539
                 URL: https://issues.apache.org/jira/browse/ODE-539
             Project: ODE
          Issue Type: Improvement
    Affects Versions: 1.2
            Reporter: Alexis Midon
            Assignee: Alexis Midon


ODEServer has a multi-key map named _externalServices. This map is supposed to 
hold references to already-created external services sorted by service qname, 
port name.

This idea of this map is wrong because external service references should not 
be shared across processes. So the key should not be {service name, port name} 
but {process-conf, service name, port name} [1]. But for a given value of this 
3-element key the reference to the external service will be requested only 
once. So the cash will be populated but never hit later. which makes the map 
useless.

[1] has no side effect in the current implementations, because the cache is not 
read properly, fortunately ;)



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to