Hi,

Is it possible to pass dynamic values to the attachPath of iterateMediator?

I have scenario where I'd like to apply the same iterate sequence to
different payloads, and the only thing that I need to change is the
attachPath and expression.

Expression seems to work, but not attachPath.

 <iterate xmlns:imp1="myNamesPace"
                  attachPath="$ctx:TAG"
                  continueParent="true"
                  expression="//imp1:Person"
                  preservePayload="true"
                  sequential="true">


In this TAG property I have the attachPath xpath, but, it seems that the
code is evaluating only the string not the Xpath itself.

Is there any to achieve this? Or using iterate mediator this way, I need to
create the same itereate but with different configs?



Thanks,
-- 
Francisco Ribeiro
*SCEA|SCJP|SCWCD|IBM Certified SOA Associate*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to