Class JmsResource
- java.lang.Object
-
- org.apache.camel.quarkus.component.messaging.it.JmsResource
-
@Path("/messaging") public class JmsResource 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.ProducerTemplateproducerTemplate
-
Constructor Summary
Constructors Constructor Description JmsResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringconsumeJmsQueueMessage(String queueName)StringconsumePahoMessage(String queueName)StringconsumePahoMessageWs(String queueName)StringconsumeSjmsMessage(String queueName)StringcustomDestinationResolver(String message)StringcustomMessageConverter(String message)StringcustomMessageListenerContainerFactory(String message)javax.ws.rs.core.ResponsejmsMapMessage(Map<String,String> payload)javax.ws.rs.core.ResponsejmsMessageType(String type, String messageBody)StringjmsSelector(String expression)javax.ws.rs.core.ResponsejmsTransaction()javax.ws.rs.core.ResponseproduceJmsQueueMessage(String queueName, String message)javax.ws.rs.core.ResponseproducePahoMessage(String queueName, String message)javax.ws.rs.core.ResponseproducePahoMessageWs(String queueName, String message)javax.ws.rs.core.ResponseproduceSjmsMessage(String queueName, String message)javax.ws.rs.core.ResponsetestObjectMessage(String name)javax.ws.rs.core.ResponsetestTransferExchange(String message)voidtopicPubSub(String message)
-
-
-
Method Detail
-
consumeJmsQueueMessage
@Path("/jms/{queueName}") @GET @Produces("text/plain") public String consumeJmsQueueMessage(@PathParam("queueName") String queueName)
-
produceJmsQueueMessage
@Path("/jms/{queueName}") @POST @Consumes("text/plain") public javax.ws.rs.core.Response produceJmsQueueMessage(@PathParam("queueName") String queueName, String message) throws Exception- Throws:
Exception
-
jmsMessageType
@Path("/jms/type/{type}") @POST @Consumes("text/plain") @Produces("text/plain") public javax.ws.rs.core.Response jmsMessageType(@PathParam("type") String type, String messageBody) throws Exception- Throws:
Exception
-
jmsMapMessage
@Path("/jms/map") @POST @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response jmsMapMessage(Map<String,String> payload) throws Exception- Throws:
Exception
-
customMessageListenerContainerFactory
@Path("/jms/custom/message/listener/factory") @POST @Consumes("text/plain") @Produces("text/plain") public String customMessageListenerContainerFactory(String message)
-
customDestinationResolver
@Path("/jms/custom/destination/resolver") @POST @Consumes("text/plain") @Produces("text/plain") public String customDestinationResolver(String message)
-
customMessageConverter
@Path("/jms/custom/message/converter") @POST @Consumes("text/plain") @Produces("text/plain") public String customMessageConverter(String message)
-
jmsSelector
@Path("/jms/selector/{expression}") @GET @Produces("text/plain") public String jmsSelector(@PathParam("expression") String expression)
-
jmsTransaction
@Path("/jms/transaction") @GET @Produces("text/plain") public javax.ws.rs.core.Response jmsTransaction() throws Exception- Throws:
Exception
-
testObjectMessage
@Path("/jms/object") @Consumes("text/plain") @Produces("text/plain") @POST public javax.ws.rs.core.Response testObjectMessage(String name) throws InterruptedException- Throws:
InterruptedException
-
testTransferExchange
@Path("/jms/transfer/exchange") @Consumes("text/plain") @Produces("text/plain") @POST public javax.ws.rs.core.Response testTransferExchange(String message) throws InterruptedException- Throws:
InterruptedException
-
topicPubSub
@Path("/jms/topic") @Consumes("text/plain") @POST public void topicPubSub(String message) throws Exception- Throws:
Exception
-
consumePahoMessage
@Path("/paho/{queueName}") @GET @Produces("text/plain") public String consumePahoMessage(@PathParam("queueName") String queueName)
-
producePahoMessage
@Path("/paho/{queueName}") @POST @Consumes("text/plain") public javax.ws.rs.core.Response producePahoMessage(@PathParam("queueName") String queueName, String message) throws Exception- Throws:
Exception
-
consumePahoMessageWs
@Path("/paho-ws/{queueName}") @GET @Produces("text/plain") public String consumePahoMessageWs(@PathParam("queueName") String queueName)
-
producePahoMessageWs
@Path("/paho-ws/{queueName}") @POST @Consumes("text/plain") public javax.ws.rs.core.Response producePahoMessageWs(@PathParam("queueName") String queueName, String message) throws Exception- Throws:
Exception
-
consumeSjmsMessage
@Path("/sjms/{queueName}") @GET @Produces("text/plain") public String consumeSjmsMessage(@PathParam("queueName") String queueName)
-
-