Class AvroRpcResource
java.lang.Object
org.apache.camel.quarkus.component.avro.rpc.it.AvroRpcResource
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) org.apache.camel.ProducerTemplatestatic final Stringstatic final Stringstatic final Stringstatic final String(package private) Integer(package private) Integerstatic final Stringstatic final Stringstatic final Stringstatic final String(package private) Integer(package private) Integer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKeyValue(ProtocolType protocol) getTestReflection(ProtocolType protocol) reflectionConsumerGet(ProtocolType protocol) reflectionProducerGet(ProtocolType protocol) voidreflectionProducerSet(ProtocolType protocol, String name) specificConsumerGet(ProtocolType protocol, String key) specificProducerGet(ProtocolType protocol, String key) voidspecificProducerPut(ProtocolType protocol, String key, String value)
-
Field Details
-
REFLECTIVE_HTTP_SERVER_PORT_PARAM
- See Also:
-
REFLECTIVE_NETTY_SERVER_PORT_PARAM
- See Also:
-
SPECIFIC_HTTP_SERVER_PORT_PARAM
- See Also:
-
SPECIFIC_NETTY_SERVER_PORT_PARAM
- See Also:
-
REFLECTIVE_HTTP_TRANSCEIVER_PORT_PARAM
- See Also:
-
REFLECTIVE_NETTY_TRANSCEIVER_PORT_PARAM
- See Also:
-
SPECIFIC_HTTP_TRANSCEIVER_PORT_PARAM
- See Also:
-
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
-
getKeyValue
-