Waiting for engine...
Skip to main content

Compile the agent plugin

After you complete your implementation, compile all your classes into a single JAR file. The agent loads this JAR as a plugin at runtime.

Prerequisites

  • GatewayManager implemented and META-INF/services file created (see Implement GatewayManager)
  • Java build tooling configured (Maven, Gradle, or the jar CLI tool)

Compile the JAR

  1. Build your project to produce a JAR file containing all your implementation classes.

    For instructions on building a JAR, see the Oracle Java documentation.

  2. Verify that the META-INF/services/com.boomi.controlplane.agent.api.GatewayManager file is present inside the JAR. If it is missing, the agent cannot load your plugin.

  3. Record the directory path to your JAR file. You will need it when you register your gateway in API Control Plane.

On this Page