Class NettyTcpResource
java.lang.Object
org.apache.camel.quarkus.component.netty.tcp.NettyTcpResource
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) org.apache.camel.ConsumerTemplate(package private) org.apache.camel.CamelContext(package private) org.apache.camel.component.netty.NettyCamelStateCorrelationManager(package private) org.apache.camel.ProducerTemplate -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsendNettyTcpMessage(String message) sendNettyTcpMessageWithCodec(String message) voidvoidsendNettyTcpSSLMessage(String message)
-
Field Details
-
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
-
-
Constructor Details
-
NettyTcpResource
public NettyTcpResource()
-
-
Method Details
-
sendNettyTcpMessage
-
sendNettyTcpMessageWithByteBufResponse
-
sendNettyTcpMessageWithCodec
-
sendNettyTcpSSLMessage
-
sendNettyTcpMessageWithServerInitializer
-
sendNettyTcpMessageWithClientInitializer
-
sendNettyTcpMessageWithCustomThreadPools
-
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
-