You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Hiranya Jayathilaka (Resolved) (JIRA)" <ji...@apache.org> on 2011/12/19 07:54:30 UTC
[jira] [Resolved] (SYNAPSE-813) If Iterate mediator's sequential
parameter is set to 'true', it is not persisting..It changes to default
value=false
[ https://issues.apache.org/jira/browse/SYNAPSE-813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hiranya Jayathilaka resolved SYNAPSE-813.
-----------------------------------------
Resolution: Fixed
Fix Version/s: 2.1
This has been properly fixed in the trunk and 2.1 branch. Please note that the patch also has a few issues. Here's the correct fix from IterateMediatorFactory:
boolean asynchronous = true;
OMAttribute asynchronousAttr = elem.getAttribute(ATT_SEQUENCIAL);
if (asynchronousAttr != null && asynchronousAttr.getAttributeValue().equals("true")) {
asynchronous = false;
}
By default we run in the async mode. If the sequential attribute is set, we go into the sync mode.
> If Iterate mediator's sequential parameter is set to 'true', it is not persisting..It changes to default value=false
> --------------------------------------------------------------------------------------------------------------------
>
> Key: SYNAPSE-813
> URL: https://issues.apache.org/jira/browse/SYNAPSE-813
> Project: Synapse
> Issue Type: Bug
> Components: Core
> Affects Versions: NIGHTLY
> Reporter: Vijayaratha Vijayasingam
> Assignee: Hiranya Jayathilaka
> Priority: Critical
> Fix For: 2.1, FUTURE
>
> Attachments: iterateMediator.patch
>
>
> Attached the patch..Please go through and commit..
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org