Process

The Process EIP adds custom logic within an integration flow, such as:

  • Attaching or detaching files when sending emails.

  • Uploading files to a URL using multipart/form-data.

Examples

  • Adding an attachment

    - setHeader:
          name: "SensediaAttachmentName"
          expression:
            constant: "invoice.pdf"
      - process:
          ref: "#class:com.sensedia.ipaas.camel.processor.AddAttachmentProcessor"
  • Removing an attachment

            - setHeader:
                name: "SensediaAttachmentName"
                expression:
                  constant: "*"
            - process:
                ref: "#class:com.sensedia.ipaas.camel.processor.RemoveAttachmentProcessor"

In the constant field of the setHeader step , you can specify the name of the file to be removed or use * to remove all attached files.

Thanks for your feedback!
EDIT

Share your suggestions with us!
Click here and then [+ Submit idea]