...
Once the configuration is ready the Xml Producer just needs the data, that will be passed as a Map.
Code Block | ||||
---|---|---|---|---|
| ||||
<File>
<Name>M_OI_BIL.M_SP_CORR.GGSN101_20101125235414_14068.dat.SP_IN.038476.dat</Name>
<BillingSourceId>201012031002438274</BillingSourceId>
<Record>
<BillingRecordId>201011262043130885</BillingRecordId>
<RatingKey></RatingKey>
<PriceElements>
<PriceElement>
<ChargeItemId>201005121347550887</ChargeItemId>
<Description>SMS til 31240912</Description>
<IdlId>201012011045262305</IdlId>
</PriceElement>
</PriceElements>
<Code>HI3GNET</Code>
<Duration>0</Duration>
</Record>
</File>
|
...
xmlDocDef = (XmlDocumentDef)getBroker().getInstanceByIdgetInstance(XmlDocumentDef.class,<doc id>"key = " + <doc_key>);
2. create a context hash map containing the information needed by the filler to populate the dataBeans map.
...