It generates both an endpoint (which should subclass org.mule.api.endpoint.ImmutableEndpoint ) and a org.mule.endpoint.URIBuilder .