on 04-05-2007 1:29 PM
Hi Friends,
In my File to File Scenario,When ever new message is maintained at source directory then it should be append to target directory file content.Generally it should overwrite the target directory file content when ever we changed the file content of source directory.But here my requirement is i just want to view all new messages in single file of target directory.Please suggest me to acheive this.
Thanks
pullarao
Hi,
I'm not sure if I get it correctly
but why don't use just use APPEND mode
of the receiver file adapter ?
Regards,
michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michal,
I used append mode and its working fine now,but the problem is while appending i want to eliminate <?xml version=1.0 ..> tag from payload.For example,
My first mesg is,
<?xml; version=1.0 ...>
<Emp>
<Name> Ram </Name>
</Emp>
Second Mesg :
<?xml version=1.0 ...>
<Emp>
<Name> Rao </Name>
</Emp>
Now i'm getting target mesg like this,
<?xml; version=1.0 ...>
<Emp>
<Name> Ram </Name>
</Emp>
<?xml version=1.0 ...>
<Emp>
<Name> Rao </Name>
</Emp>
But according to my requirement target mesg should be like this,
<?xml; version=1.0 ...>
<Emp>
<Name> Ram </Name>
</Emp>
<Emp>
<Name> Rao </Name>
</Emp>
Can u guide me to acheive this.
User | Count |
---|---|
85 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.