Hi,
could someone tell me why my "all_programs" property remains empty after
aggregation ?
In my logs I can see the aggregation seems to work correctly but all_programs
property is empty.
Here is my code :
<iterate . . . >
<target>
<!— …. -->
</target>
</iterate>
<property action="set" type="OM" name="all_programs" >
<all_programs xmlns=""/>
</property>
<aggregate>
<completeCondition>
<messageCount max="-1" min="0"/>
</completeCondition>
<onComplete enclosingElementProperty="all_programs"
expression="//v1:pe"
xmlns:v1="http://etnic.be/services/hops/habilitation/messages/v1" >
<log category="DEBUG" description="DEBUG" level="custom">
<property expression="$ctx:all_programs" name="______ all_programs ______"/>
</log>
Property stays empty even with expression="$body" !
[2018-03-08 08:27:44,463] [EI-Core] DEBUG - AggregateMediator Generating
Aggregated message from : <?xml version='1.0'
encoding='utf-8'?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><v1:pe
xmlns:v1="http://etnic.be/services/hops/habilitation/messages/v1">
<v11:codePE
xmlns:v11="http://enseignement.cfwb.be/types/habilitation/v1">soca1ba</v11:codePE>
<v11:codeGrade
xmlns:v11="http://enseignement.cfwb.be/types/habilitation/v1">34</v11:codeGrade>
<v11:libellePE
xmlns:v11="http://enseignement.cfwb.be/types/habilitation/v1">Bachelier en
sociologie et anthropologie - </v11:libellePE>
<v11:peUrl
xmlns:v11="http://enseignement.cfwb.be/types/habilitation/v1">https://uclouvain.be/prog-soca1ba</v11:peUrl>
<v11:ue xmlns:v11="http://enseignement.cfwb.be/types/habilitation/v1">
<v11:codeUE>LCOPS1113I</v11:codeUE>
<v11:nombreCreditsECTS>5.0</v11:nombreCreditsECTS>
<v11:codeQuadrimestre>Q2</v11:codeQuadrimestre>
<v11:libelleUE>Histoire moderne et contemporaine -
J.Campion</v11:libelleUE>
</v11:ue><v11:ue
xmlns:v11="http://enseignement.cfwb.be/types/habilitation/v1">
<v11:codeUE>LCOPS1124C</v11:codeUE>
<v11:nombreCreditsECTS>5.0</v11:nombreCreditsECTS>
….. ….. ….. ….. etc. …..
</v11:libelleUE>
</v11:ue></v1:pe></soapenv:Body></soapenv:Envelope>
[2018-03-08 08:27:44,465] [EI-Core] DEBUG - AggregateMediator Enclosing the
aggregated message with enclosing element: all_programs
[2018-03-08 08:27:44,465] [EI-Core] DEBUG - SequenceMediator Start : Sequence
<anonymous>
[2018-03-08 08:27:44,465] [EI-Core] DEBUG - SequenceMediator Sequence
<SequenceMediator> :: mediate()
[2018-03-08 08:27:44,465] [EI-Core] DEBUG - SequenceMediator Mediation started
from mediator position : 0
[2018-03-08 08:27:44,465] [EI-Core] DEBUG - LogMediator Start : Log mediator
[2018-03-08 08:27:44,465] [EI-Core] DEBUG - LogMediator ______ all_programs
______ = <all_programs/>
[2018-03-08 08:27:44,465] [EI-Core] DEBUG - LogMediator End : Log mediator
Thanks,
Bernard
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev