cancel
Showing results for 
Search instead for 
Did you mean: 

Why AS2 Adapter saves the payload in .hdr format ?

0 Kudos
245

Dear Experts,

I'm trying to save the AS2 payload in the file archive, Adapter always generates two files, one with .msg extension (looks like EDI message with header and payload) , and another with .hdr extension (only AS2 message header information).

Msg files used to have the payload details, hdr file is just a subset of msg files. Can some one explain if it is possible to suppress HDR file, I only want to save .msg files in the archive.

Regards,

Sudhir

View Entire Topic
danielszihalm
Advisor
Advisor

Hello Sudhir Kumar,

The Archiving option in the AS2 adapter will create two files: .hdr and .msg files. The .hdr file will only contain the AS2 protocol specific information, the .msg file will contain the AS2 protocol specific information and the payload.

If you would like to archive only the payload you need to use the module ArchiverModuleBean in the AS2 receiver channel. The following parameters can be set:
removeErroneous
archiveBaseDir
archiveFile


I hope this information helps.
Daniel