Class NettyTcpResource
- java.lang.Object
-
- org.apache.camel.quarkus.component.netty.tcp.NettyTcpResource
-
@Path("/netty/tcp") public class NettyTcpResource extends Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) org.apache.camel.ConsumerTemplateconsumerTemplate(package private) org.apache.camel.CamelContextcontext(package private) org.apache.camel.component.netty.NettyCamelStateCorrelationManagercorrelationManager(package private) org.apache.camel.ProducerTemplateproducerTemplate
-
Constructor Summary
Constructors Constructor Description NettyTcpResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringsendNettyTcpMessage(String message)StringsendNettyTcpMessageWithByteBufResponse(String message)StringsendNettyTcpMessageWithClientInitializer(String message)ObjectsendNettyTcpMessageWithCodec(String message)voidsendNettyTcpMessageWithCustomCorrelationManager()StringsendNettyTcpMessageWithCustomThreadPools(String message)StringsendNettyTcpMessageWithServerInitializer(String message)voidsendNettyTcpMessageWithTransferExchange(String message)StringsendNettyTcpSSLMessage(String message)
-
-
-
Field Detail
-
producerTemplate
@Inject org.apache.camel.ProducerTemplate producerTemplate
-
consumerTemplate
@Inject org.apache.camel.ConsumerTemplate consumerTemplate
-
context
@Inject org.apache.camel.CamelContext context
-
correlationManager
@Inject org.apache.camel.component.netty.NettyCamelStateCorrelationManager correlationManager
-
-
Method Detail
-
sendNettyTcpMessageWithByteBufResponse
@Path("/bytebuf") @POST public String sendNettyTcpMessageWithByteBufResponse(String message)
-
sendNettyTcpMessageWithCodec
@Path("/codec") @POST public Object sendNettyTcpMessageWithCodec(String message)
-
sendNettyTcpMessageWithServerInitializer
@Path("/server/initializer") @POST public String sendNettyTcpMessageWithServerInitializer(String message)
-
sendNettyTcpMessageWithClientInitializer
@Path("/client/initializer") @POST public String sendNettyTcpMessageWithClientInitializer(String message)
-
sendNettyTcpMessageWithCustomThreadPools
@Path("/custom/thread/pools") @POST public String sendNettyTcpMessageWithCustomThreadPools(String message)
-
sendNettyTcpMessageWithCustomCorrelationManager
@Path("/custom/correlation/manager") @POST public void sendNettyTcpMessageWithCustomCorrelationManager() throws InterruptedException- Throws:
InterruptedException
-
sendNettyTcpMessageWithTransferExchange
@Path("/object/serialize") @POST public void sendNettyTcpMessageWithTransferExchange(String message) throws InterruptedException- Throws:
InterruptedException
-
-