|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Multiple files writing |
« View previous topic :: View next topic » |
Author |
Message
|
anild |
Posted: Tue Apr 07, 2009 11:19 pm Post subject: Multiple files writing |
|
|
Novice
Joined: 19 Sep 2007 Posts: 13
|
We are receiving multiple xml messages,Based on the xml message data content we need to write a different .txt files. if it is same content comes then message need to append the existing file. else need to create new file.
Can any one guide us how to handle this kind of scenario's.
Thanks in advance. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Apr 07, 2009 11:53 pm Post subject: Re: Multiple files writing |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
anild wrote: |
Can any one guide us how to handle this kind of scenario's.
|
Examine the file appending abilities of the node in question.... _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
zpat |
Posted: Wed Apr 08, 2009 12:07 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Try to avoid files, they are not transactionally safe.
Produce and consume MQ messages in the applications directly.
Files are almost always not genuinely needed and by having them in the integration chain you lose many of the benefits of transactional messaging. |
|
Back to top |
|
 |
mqpaul |
Posted: Wed Apr 08, 2009 5:06 am Post subject: Re: Multiple files writing - can't use Broker V6.1 file node |
|
|
 Acolyte
Joined: 14 Jan 2008 Posts: 66 Location: Hursley, UK
|
anild wrote: |
We are receiving multiple xml messages,Based on the xml message data content we need to write a different .txt files. if it is same content comes then message need to append the existing file. else need to create new file.
Can any one guide us how to handle this kind of scenario's.
Thanks in advance. |
Assuming you really do need files, you won't be able to do this with the Broker File nodes - they won't append records to existing files. _________________ Paul |
|
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
|
|
|
|