synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Evanthika Amarasiri (JIRA)" <j...@apache.org>
Subject [jira] Created: (SYNAPSE-192) When there are no addressing headers in the request message, the split messages cannot be aggregated as expected
Date Fri, 14 Dec 2007 09:58:43 GMT
When there are no addressing headers in the request message, the split messages cannot be aggregated
as expected
----------------------------------------------------------------------------------------------------------------

                 Key: SYNAPSE-192
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-192
             Project: Synapse
          Issue Type: Bug
          Components: Extension Mediators
    Affects Versions: 1.1
         Environment: Ubuntu7.04, JDK1.5.0_12
            Reporter: Evanthika Amarasiri
             Fix For: 1.1.1-QA-B1


Tried the below configuration with a request without addressing headers. (Sent the request
through JMeter) The messages which were split could not be aggregated properly since there
were no addressing headers in the request message

Configuration [This is a simple service which adds up two numbers]
===========
       <syn:in>
            <syn:iterate xmlns:ns="http://calc.math.com" xmlns:ns1="http://org.apache.synapse/xsd"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" continueParent="true" expression="//ns:add">
                <syn:target>
                    <syn:sequence>
                        <syn:send>
                            <syn:endpoint>
                                <syn:address uri="http://10.100.1.228:9001/soap/Calculator"/>
                            </syn:endpoint>
                        </syn:send>
                    </syn:sequence>
                </syn:target>
            </syn:iterate>
        </syn:in>
        <syn:out>
            <syn:aggregate>
                <syn:completeCondition>
                    <syn:messageCount min="-1" max="-1"/>
                </syn:completeCondition>
                <syn:onComplete xmlns:s11="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://calc.math.com"
xmlns:s12="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="http://org.apache.synapse/xsd"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" expression="//ns:addResponse">
                    <syn:send/>
                </syn:onComplete>
                <syn:invalidate timeout="300">
                    <syn:log level="full" separator=","/>
                    <syn:drop/>
                </syn:invalidate>
            </syn:aggregate>
        </syn:out>
    </syn:sequence>

-- 
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: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


Mime
View raw message