![]() These steps will work with any adapter that supports enhancement through adapter modules. Localejbs/PGPEncryption: This module is used to encrypt the outgoing message.įollowing the above-mentioned steps, you can successfully handle File content conversion along with PGP encryption/decryption.Localejbs/AF_Modules/StrictXml2PlainBean: This module is used to convert XML to CSV. ![]() Handle PGP Encryption and XML to CSV Conversion in the Recruiter ChannelĬreate ESR and Integration Directory objects as usual, but in the Receiver File Channel instead of using File Content Conversion, use Adapter Modules in the sequence mentioned below. This should decrypt the encrypted PGP message and split the elements successfully. You can change the number and position of outputs according to your needs.Ĭonfigure the mapping in the manner illustrated below.Ĭreate an Integrated Configuration for this scenario and activate your objects. Output 2: This delivers the fifth string after the split. Output 1: This delivers the second string after the split. You can update the delimiter to whatever is used in the file. The UDF takes the whole line as a string and splits it at each page. Moving ahead, create a Message Mapping, and define an Advanced User Defined Function (UDF). You can change it to suit your objectives. All the elements of the line will be stored in ‘Record,’ and multiple occurring nodes will be enabled in ‘RecordSet.’įor our requirements, we need only three fields from each line of CSV so that our receiver structure looks like below. Once the modules have been specified, create the Sender Data Type as specified in the pattern below.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |