Uses of Interface
jakarta.jms.MessageConsumer
-
Packages that use MessageConsumer Package Description jakarta.jms The Jakarta Messaging API provides a common way for Java programs to create, send, receive and read an enterprise messaging system's messages.org.apache.activemq.artemis.jms.client -
-
Uses of MessageConsumer in jakarta.jms
Subinterfaces of MessageConsumer in jakarta.jms Modifier and Type Interface Description interfaceQueueReceiverA client uses aQueueReceiverobject to receive messages that have been delivered to a queue.interfaceTopicSubscriberA client uses aTopicSubscriberobject to receive messages that have been published to a topic.Methods in jakarta.jms that return MessageConsumer Modifier and Type Method Description MessageConsumerSession. createConsumer(Destination destination)Creates aMessageConsumerfor the specified destination.MessageConsumerSession. createConsumer(Destination destination, String messageSelector)Creates aMessageConsumerfor the specified destination, using a message selector.MessageConsumerSession. createConsumer(Destination destination, String messageSelector, boolean noLocal)Creates aMessageConsumerfor the specified destination, specifying a message selector and thenoLocalparameter.MessageConsumerSession. createDurableConsumer(Topic topic, String name)Creates an unshared durable subscription on the specified topic (if one does not already exist) and creates a consumer on that durable subscription.MessageConsumerSession. createDurableConsumer(Topic topic, String name, String messageSelector, boolean noLocal)Creates an unshared durable subscription on the specified topic (if one does not already exist), specifying a message selector and thenoLocalparameter, and creates a consumer on that durable subscription.MessageConsumerSession. createSharedConsumer(Topic topic, String sharedSubscriptionName)Creates a shared non-durable subscription with the specified name on the specified topic (if one does not already exist) and creates a consumer on that subscription.MessageConsumerSession. createSharedConsumer(Topic topic, String sharedSubscriptionName, String messageSelector)Creates a shared non-durable subscription with the specified name on the specified topic (if one does not already exist) specifying a message selector, and creates a consumer on that subscription.MessageConsumerSession. createSharedDurableConsumer(Topic topic, String name)Creates a shared durable subscription on the specified topic (if one does not already exist), specifying a message selector and thenoLocalparameter, and creates a consumer on that durable subscription.MessageConsumerSession. createSharedDurableConsumer(Topic topic, String name, String messageSelector)Creates a shared durable subscription on the specified topic (if one does not already exist), specifying a message selector, and creates a consumer on that durable subscription. -
Uses of MessageConsumer in org.apache.activemq.artemis.jms.client
Classes in org.apache.activemq.artemis.jms.client that implement MessageConsumer Modifier and Type Class Description classActiveMQMessageConsumerActiveMQ Artemis implementation of a JMS MessageConsumer.Methods in org.apache.activemq.artemis.jms.client that return MessageConsumer Modifier and Type Method Description MessageConsumerActiveMQSession. createConsumer(Destination destination)MessageConsumerActiveMQSession. createConsumer(Destination destination, String messageSelector)MessageConsumerActiveMQSession. createConsumer(Destination destination, String messageSelector, boolean noLocal)MessageConsumerActiveMQSession. createDurableConsumer(Topic topic, String name)MessageConsumerActiveMQSession. createDurableConsumer(Topic topic, String name, String messageSelector, boolean noLocal)MessageConsumerActiveMQSession. createSharedConsumer(Topic topic, String sharedSubscriptionName)MessageConsumerActiveMQSession. createSharedConsumer(Topic topic, String name, String messageSelector)Note: Needs to throw an exception if a subscriptionName is already in use by another topic, or if the messageSelector is different validate multiple subscriptions on the same session.MessageConsumerActiveMQSession. createSharedDurableConsumer(Topic topic, String name)MessageConsumerActiveMQSession. createSharedDurableConsumer(Topic topic, String name, String messageSelector)
-