Skip to Content
0
Former Member
Nov 07, 2005 at 07:40 AM

Content based routing and XML with multiple objects

21 Views

I have some structure:

<contracts>

<contract>

<department>1</department>

..

</contract>

<contract>

<department>1</department>

..

</contract>

...

<contract>

<department>2</department>

..

</contract>

</contracts>

I need to route contract to 2 system based on <department> value:

contracts/department = 1 --> System1

contracts/department = 2 --> System2

Will XI split my XML (based on Content Routing rules in ID) into 2 structures (with departmet=1 and department=2 accordingly) ?

Or I have to perform 1ToN mapping? I don't like it bacause it will be diffucult to monitor hundred of messages.