Question

I am trying to make a simple custom transformer so I have created a simple transformer as under:

enter image description here

How can I add it to the Transformer Palette: enter image description here

The flow that I will do is a Http inbound endpoint -> My transformer -> Echo. What ever will be supplied should be appended with "Hello" by the custom transformer.

The purpose is to learn building a custom transformer.

Était-ce utile?

La solution

If you want to build Mule extensions (custom transformers, message processors...) that can be integrated in Studio's palettes, create them with DevKit.

Otherwise, to use your custom transformer directly in Studio, refer to it with a Java Transformer, as shown below:

Java Custom Transformer

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top