Class ControllerEchoWithAutoDiscovery


  • @Path("/test")
    public class ControllerEchoWithAutoDiscovery
    extends Object
    This class is a typical "echo" service that will return whatever string you call GET with a path. It is both an integration test and a demonstration of how to dynamically add an endpoint to broker, create auto-service discovery
    • Constructor Detail

      • ControllerEchoWithAutoDiscovery

        public ControllerEchoWithAutoDiscovery()
    • Method Detail

      • echo

        @GET
        @Path("/echo/{table}")
        @Produces("text/plain")
        public String echo​(@PathParam("table")
                           String table)