on 10-09-2019 7:50 PM
Hello Experts,
I have a scenario where I would have to break a big file using a general splitter.
I have used a content modifier before the general splitter where I have mentioned the Camel file name
CamelFileName : Leave_${date:now:yyyyMMddHHmmssSSS}${random(10000)}.XML
The file still overrides . I have attached the iflow screen shot below
Can you please advice .
Thanks
Regards
Advit
Hi Advit,
have you tried setting the Content Modifier behind the splitter step? A splitter breaks one message into multiple ones. If you place the Content Modifier before the splitter, than there's only one message modified. All messages, generated by the splitter, will share the same header values of the initial message. If you want unique file names for each splitted message, you should place the Content Modifier behind the splitter. Thus it will change each of the message generated by the splitter.
Regards,
Raffael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Raffael,
This did the job
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.