Redundant adding of handlers into execution chains.
---------------------------------------------------
Key: AXIS2C-1205
URL: https://issues.apache.org/jira/browse/AXIS2C-1205
Project: Axis2-C
Issue Type: Bug
Environment: all
Reporter: Damitha Kumarage
When adding a new serivce to the configuration I can see that it is calling
axis2_phase_resolver_build_execution_chains_for_svc() function in the following
order
conf_add_svc->svc_grp_add_svd->build_execution_chains_for_svc
What build_execution_chains_for_svc() function doing is for each service
operation
retrieve modules from configration and service and add module handlers into
operation
phases. But it should be noted that by this time these handlers are already
added into
operation phases by call to axis2_phase_resolver_engage_module_globally()
function in
the following order
axis2_dep_engine_engage_modules->axis2_conf_engage_module->engage_module_globally
At the same time it is important to note that build_execution_chains_for_svc()
function is used
to build execution chains for services added to conf programmatically. This is
used for this
purpose from scripting language implementations using Axis2/C.
Keeping this in mind my fix for this problem is attached in the attached patch
file
--
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]