This document discusses using Mule ESB to scatter gather messages by sending the same payload to multiple destinations. It also covers encrypting and decrypting payloads using Base64 encoding. Specifically, it describes creating a flow that takes a file from an input folder, encrypts it using Base64, scatters it to two encode folders, then decrypts and sends it to a final decode folder, logging the process.
2. Scatter Gather and Base64 encryption / cryption
Topics :
• How to same message to multiple destinations
Pre-requisites :
• Basic under standing of Mule ESB
• JDK 1.8 or above
• Anypoint Studio v 6.0.0 or above
• Mule Server v 3.8.0 EE or above
Purpose:
• Sending the same message/payload to multiple destinations.
• Message Encrypt/ Decrypt using Base64 transformer.
6. Logger Information:
Steps:
(*) Create Source Folder : <<PATH>>input
(*) Create Destination Folder ( Folder 1 ) : <<PATH>> encode
(*) Create Destination Folder ( Folder 2 ) : <<PATH>> encode_deplicate
(*) Create Final Destination Folder : <<PATH>>decode
(*) Create a simple text file, Example : scattergather.txt
Put some content into scattergather.txt : This is sample data.
Save the text file.
(*) Deploy & Start this application.
(*) Put scattergather.txt into Source Folder and validate log information.
(*) Validate all 4 folders.
------------------------ Thank You -------------------------