synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiranya Jayathilaka (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SYNAPSE-813) If Iterate mediator's sequential parameter is set to 'true', it is not persisting..It changes to default value=false
Date Mon, 19 Dec 2011 06:54:30 GMT

     [ 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


Mime
View raw message