Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.1
-
None
-
Ubuntu7.04, JDK1.5.0_12
Description
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>