MessageAggregation using sendpipeline
order schema structure
shippingInfoStructure
envelope schema
Set envelope property to yes (goto schema property set envelope property to yes)
set body xpath to record
/*[local-name()='Envelope' and namespace-uri()='http://MessageAgrregator.OrderEnvelope']/*[local-name()='Record' and namespace-uri()='']
set document schema and envelope property as shown below
aggregation logic
Microsoft.XLANGs.Pipeline.XLANGPipelineManager.ExecuteSendPipeline(typeof(MessageAgrregator.MessageAggregatorSend),MessagesToAggregate,AggregatedMessage);
solution structure
sample input
sample output in event viewer
No comments:
Post a Comment