Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import org.mule.runtime.extension.api.annotation.param.display.DisplayName;
import org.mule.runtime.extension.api.annotation.param.display.Summary;
import org.mule.runtime.extension.api.annotation.param.Connection;
public class MyConnectorOperations {
@Summary("Adds the firstNumber and secondNumber and returns the result")
public int add(@Connection CustomConnection connection,
@Placement(order = 1) @DisplayName("First") int firstNumber,
@Placement(order = 2) @DisplayName("Second") int secondNumber)
return firstNumber + secondNumber;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.