Class JmsResource
java.lang.Object
org.apache.camel.quarkus.messaging.jms.JmsResource
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) org.apache.camel.quarkus.component.messaging.it.util.scheme.ComponentScheme(package private) org.apache.camel.ConsumerTemplate(package private) org.apache.camel.CamelContext(package private) org.apache.camel.ProducerTemplate -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncustomDestinationResolver(String message) customMessageConverter(String message) jakarta.ws.rs.core.ResponseproduceMessageWithCustomDestination(boolean isStringDestination, String destinationName, String message) jakarta.ws.rs.core.Responsejakarta.ws.rs.core.ResponsetestTransferExchange(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 -
componentScheme
@Inject org.apache.camel.quarkus.component.messaging.it.util.scheme.ComponentScheme componentScheme
-
-
Constructor Details
-
JmsResource
public JmsResource()
-
-
Method Details
-
customMessageListenerContainerFactory
-
customDestinationResolver
-
customMessageConverter
-
testTransferExchange
@Path("/transfer/exchange") @Consumes("text/plain") @Produces("text/plain") @POST public jakarta.ws.rs.core.Response testTransferExchange(String message) throws InterruptedException - Throws:
InterruptedException
-
testTransferException
@Path("/transfer/exception") @Produces("text/plain") @GET public jakarta.ws.rs.core.Response testTransferException() -
produceMessageWithCustomDestination
@Path("/custom/destination/{destinationName}") @POST public jakarta.ws.rs.core.Response produceMessageWithCustomDestination(@QueryParam("isStringDestination") boolean isStringDestination, @PathParam("destinationName") String destinationName, String message) throws Exception - Throws:
Exception
-