Skip to content

Create a Message Processor

Follow the instructions below to create a new Message Processor artifact in the WSO2 Integrator: MI for Visual Studio Code extension (MI for VS Code).

Instructions

Create the message processor artifact

  1. Launch Visual Studio Code with the WSO2 Integrator: MI for VS Code extension (MI for VS Code) installed.

    Info

    Follow the Install WSO2 Integrator: MI for VS Code documentation for a complete installation guide.

  2. Create an integration project.

  3. To add a new Message Processor, navigate to WSO2 Integrator: MI Project Explorer.

  4. Click on the + icon to open the Add Artifact pane.

    add artifact

  5. Click + View More under Create an Integration.

  6. Click Message Processor under Other Artifacts to open the Message Processor Form.

  7. Select the type of message processor you are creating.

    message processor form

  8. Enter a unique name for the message processor.

    See the links given below for descriptions of properties for each message processor type:

  9. Click Create.

The message processor is created in the <PROJECT_NAME>/src/main/wso2mi/artifacts/message-processors folder under the integration project you created.

Update the properties

Open the above-created message processor artifact from the MI Project Explorer. You can use the Form view or the Source view to update message processor properties.

See the links given below for descriptions of properties for each processor type:

Tutorials

Follow our tutorials on message processors:

Examples

Follow our examples on message processors: