Skip to Content
avatar image
Former Member

Splitting in JMS Adaptor

Hi @,

I have a scenario where i have to split an XML file conatining 10000 records into 1000 records per message .Is it possible to do without BPM ?

If not then how to use BPM to split count into 1000 each records?

Thanx to all in advance

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Apr 12, 2007 at 04:08 PM is possible using context handling

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 12, 2007 at 05:09 PM

    say if ur file contains 5 records do u want to have 5 messages...i.e. 1 record 1 message ? or 5 records in 1 messsage and again 5 records in second message?

    Message was edited by:

    Prabhu S

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Its like whatever be the number of records i have to break them into multiple messages consisting up of my count like 5 then if it has 13 records then i should get 5,5,3 ( 3 messages ) like this .If it is less than 5 then 1 mesage but if it exceeds tht then each message must contain not more than above mentioned numer

  • avatar image
    Former Member
    Apr 13, 2007 at 07:49 AM

    Hi Priya,

    Correct me if I am wrong. As per the scenario your source will have an occurance of 1:1 containing 10000 records. Which you have to split into a target message which would be having 1:unbound occurance and should containing multiple 1000 records in it.

    In this scenario, we can use the graphical mapping to get it done. For the root element in the target message we would require an UDF to be created using Queue mapping. In the user defined function we need to check the value to 1000 and do the need full.

    The second thing should be taken care in this context. We can implement this by using multi mapping without using BPM, if the integration server and the adapter engine is on the same host.

    Hope this helps your cause.


    Add comment
    10|10000 characters needed characters exceeded