on 04-20-2010 7:11 AM
Hi friends,
how file splitting happens in PI.
Is there any different ways to do splitting the file.
eg-if send the file with 50mb how the file will splite in pi
if it is record type how or if it is file size how
regards
raj
Hi,
Is there any different ways to do splitting the file.
Thsi is a very generic question u asked... what exactly u want?? can u plz explain in detail..
There are many ways to split the file...
if it is record type how or if it is file size how
If record type then u need to split the records in mapping based on its content..
If baseed on size from the source File adapter itself u can split them into many messages.. using
number of records for message..
If still nt clarified,, do post
Babu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raju,
If you want to split the file at the time of picking we caan go with two ways
1)Using Java Proxy we can split the file in to different Chunks.
2)If it is a flat file , if you are suing Sender File Communication channel then use Recordser per message option , there you can give value like 200 or 300,depends on requirement it process the file.
if you want to split at mapping level
1)Go with Java Mapping.
abopve 3 options i implemented in my experiece.
trasfering 50 mb message i think it is not a right idea,you have to split .else you face serious problems like Java stack down,heap memory issues.
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The Maximum size depends upon many factors including the client infrastrucrure...
So, the thumb rule is always the payload size for PI around 5MB-10MB will give u the best efficiency.
So based on this u restrict the number of records from the source,to get the efficient processing of messages in PI.
Babu
>if it is record type how or if it is file size how
If it is record type, the mapping we design will take care of things.
if it file (message) size either sender application has to chunk (or) the PI adapter should have this capability.
In general, File Adapter has capability of sending fixed no. of records/message.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.