Skip to content

Commit

Permalink
Fix mismatch in axis service and proxy(synapse) service state
Browse files Browse the repository at this point in the history
For MI we have introduced this feature using a DeploymentInterceptor.
But to enable that we have to add the following service parameter to the proxy

<parameter name="keepServiceHistory">true</parameter>

But there is an issue with MI where it does not properly propagate this state
since be due to a mismatch in axis service and proxy(synapse) service state.

Fixes: wso2/micro-integrator#2981
  • Loading branch information
malakaganga committed Oct 3, 2023
1 parent 8de852e commit 273c1e4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@ public AxisService buildAxisService(SynapseConfiguration synCfg, AxisConfigurati
axisCfg.addServiceToExistingServiceGroup(axisService, serviceGroup);
}
}
this.setRunning(true);
this.setRunning(axisService.isActive());
} catch (AxisFault axisFault) {
try {
if (axisCfg.getService(axisService.getName()) != null) {
Expand Down

0 comments on commit 273c1e4

Please sign in to comment.