|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Use FileInput Node to Split a Large File into Small |
« View previous topic :: View next topic » |
Author |
Message
|
akshat.jain |
Posted: Fri Nov 29, 2013 6:22 am Post subject: Use FileInput Node to Split a Large File into Small |
|
|
Novice
Joined: 02 Feb 2010 Posts: 13
|
Hi,
I have a requirement in broker 8, where i am receiving a huge Copybook each Copy book request message contains many copybooks. I have created a message set for the same.
The file is dropped at a location from where my flow picks it up, we have to split the big file into smaller chunks, that has to be configurable.
My initial approach was to use fixed length option on the FileInput Node, it was working fine, but it doesn't allow me to make the length property configurable, even if i promote the property to the flow.
My next approach was to use a compute node parse the messages and split accordingly, but when the first message is propagated, it throws an "Invalid Wire Format".
The reason i want to split this message is due to the fact that the request file is huge and i have to process each request, so i have a connecting flow, running on multi-threads to read and transform each CCB within.
Can someone please suggest me a solution for the same.
PS: The message set is working fine when i use a MQInput - MQOutput
But doesnt work when its FileInput - MQOutput
Regards,
Akshat |
|
Back to top |
|
 |
kimbert |
Posted: Fri Nov 29, 2013 7:15 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Quote: |
when the first message is propagated, it throws an "Invalid Wire Format". |
Hard to diagnose without more information. Please quote the entire error message, and any others that were issued at the same time.
If necessary, take a user trace to get the full text of the error(s). _________________ Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|