Class AvroRpcResource

java.lang.Object
org.apache.camel.quarkus.component.avro.rpc.it.AvroRpcResource

@Path("/avro-rpc") @ApplicationScoped public class AvroRpcResource extends Object
  • Field Details

    • REFLECTIVE_HTTP_SERVER_PORT_PARAM

      public static final String REFLECTIVE_HTTP_SERVER_PORT_PARAM
      See Also:
    • REFLECTIVE_NETTY_SERVER_PORT_PARAM

      public static final String REFLECTIVE_NETTY_SERVER_PORT_PARAM
      See Also:
    • SPECIFIC_HTTP_SERVER_PORT_PARAM

      public static final String SPECIFIC_HTTP_SERVER_PORT_PARAM
      See Also:
    • SPECIFIC_NETTY_SERVER_PORT_PARAM

      public static final String SPECIFIC_NETTY_SERVER_PORT_PARAM
      See Also:
    • REFLECTIVE_HTTP_TRANSCEIVER_PORT_PARAM

      public static final String REFLECTIVE_HTTP_TRANSCEIVER_PORT_PARAM
      See Also:
    • REFLECTIVE_NETTY_TRANSCEIVER_PORT_PARAM

      public static final String REFLECTIVE_NETTY_TRANSCEIVER_PORT_PARAM
      See Also:
    • SPECIFIC_HTTP_TRANSCEIVER_PORT_PARAM

      public static final String SPECIFIC_HTTP_TRANSCEIVER_PORT_PARAM
      See Also:
    • SPECIFIC_NETTY_TRANSCEIVER_PORT_PARAM

      public static final String SPECIFIC_NETTY_TRANSCEIVER_PORT_PARAM
      See Also:
    • producerTemplate

      @Inject org.apache.camel.ProducerTemplate producerTemplate
    • reflectiveHttpPort

      Integer reflectiveHttpPort
    • reflectiveNettyPort

      Integer reflectiveNettyPort
    • specificHttpPort

      Integer specificHttpPort
    • specificNettyPort

      Integer specificNettyPort
  • Constructor Details

    • AvroRpcResource

      public AvroRpcResource()
  • Method Details

    • reflectionProducerSet

      @Path("/reflectionProducerSet") @POST @Consumes("text/plain") public void reflectionProducerSet(@QueryParam("protocol") ProtocolType protocol, String name) throws Exception
      Throws:
      Exception
    • reflectionProducerGet

      @Path("/reflectionProducerGet") @POST @Consumes("text/plain") @Produces("text/plain") public String reflectionProducerGet(ProtocolType protocol) throws Exception
      Throws:
      Exception
    • specificProducerPut

      @Path("/specificProducerPut") @POST @Produces("text/plain") public void specificProducerPut(@QueryParam("protocol") ProtocolType protocol, @QueryParam("key") String key, String value) throws Exception
      Throws:
      Exception
    • specificProducerGet

      @Path("/specificProducerGet") @POST @Consumes("text/plain") @Produces("text/plain") public String specificProducerGet(@QueryParam("protocol") ProtocolType protocol, String key) throws Exception
      Throws:
      Exception
    • reflectionConsumerGet

      @Path("/reflectionConsumerGet") @POST @Consumes("text/plain") @Produces("text/plain") public String reflectionConsumerGet(ProtocolType protocol) throws Exception
      Throws:
      Exception
    • specificConsumerGet

      @Path("/specificConsumerGet") @POST @Consumes("text/plain") @Produces("text/plain") public String specificConsumerGet(@QueryParam("protocol") ProtocolType protocol, String key) throws Exception
      Throws:
      Exception
    • getTestReflection

      public TestReflection getTestReflection(ProtocolType protocol)
    • getKeyValue

      public KeyValueProtocol getKeyValue(ProtocolType protocol)