Uses of Interface
jakarta.jms.Message
-
Packages that use Message 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.api.jms.management org.apache.activemq.artemis.jms.client org.apache.activemq.artemis.jms.client.compatible1X -
-
Uses of Message in jakarta.jms
Subinterfaces of Message in jakarta.jms Modifier and Type Interface Description interfaceBytesMessageABytesMessageobject is used to send a message containing a stream of uninterpreted bytes.interfaceMapMessageAMapMessageobject is used to send a set of name-value pairs.interfaceObjectMessageAnObjectMessageobject is used to send a message that contains a serializable object in the Java programming language ("Java object").interfaceStreamMessageAStreamMessageobject is used to send a stream of primitive types in the Java programming language.interfaceTextMessageATextMessageobject is used to send a message containing ajava.lang.String.Methods in jakarta.jms that return Message Modifier and Type Method Description MessageJMSContext. createMessage()Creates aMessageobject.MessageSession. createMessage()Creates aMessageobject.MessageJMSConsumer. receive()Receives the next message produced for thisJMSConsumer.MessageJMSConsumer. receive(long timeout)Receives the next message that arrives within the specified timeout interval.MessageMessageConsumer. receive()Receives the next message produced for this message consumer.MessageMessageConsumer. receive(long timeout)Receives the next message that arrives within the specified timeout interval.MessageJMSConsumer. receiveNoWait()Receives the next message if one is immediately available.MessageMessageConsumer. receiveNoWait()Receives the next message if one is immediately available.MessageQueueRequestor. request(Message message)Sends a request and waits for a reply.MessageTopicRequestor. request(Message message)Sends a request and waits for a reply.Methods in jakarta.jms with parameters of type Message Modifier and Type Method Description voidCompletionListener. onCompletion(Message message)Notifies the application that the message has been successfully sentvoidCompletionListener. onException(Message message, Exception exception)Notifies user that the specified exception was thrown while attempting to send the specified message.voidMessageListener. onMessage(Message message)Passes a message to the listener.voidTopicPublisher. publish(Message message)Publishes a message to the topic.voidTopicPublisher. publish(Message message, int deliveryMode, int priority, long timeToLive)Publishes a message to the topic, specifying delivery mode, priority, and time to live.voidTopicPublisher. publish(Topic topic, Message message)Publishes a message to a topic for an unidentified message producer.voidTopicPublisher. publish(Topic topic, Message message, int deliveryMode, int priority, long timeToLive)Publishes a message to a topic for an unidentified message producer, specifying delivery mode, priority and time to live.MessageQueueRequestor. request(Message message)Sends a request and waits for a reply.MessageTopicRequestor. request(Message message)Sends a request and waits for a reply.JMSProducerJMSProducer. send(Destination destination, Message message)Sends a message to the specified destination, using any send options, message properties and message headers that have been defined on thisJMSProducer.voidMessageProducer. send(Destination destination, Message message)Sends a message to a destination for an unidentified message producer using theMessageProducer's default delivery mode, priority, and time to live.voidMessageProducer. send(Destination destination, Message message, int deliveryMode, int priority, long timeToLive)Sends a message to a destination for an unidentified message producer, specifying delivery mode, priority and time to live.voidMessageProducer. send(Destination destination, Message message, int deliveryMode, int priority, long timeToLive, CompletionListener completionListener)Sends a message to a destination for an unidentified message producer, specifying delivery mode, priority and time to live, performing part of the work involved in sending the message in a separate thread and notifying the specified CompletionListener when the operation has completed.voidMessageProducer. send(Destination destination, Message message, CompletionListener completionListener)Sends a message to a destination for an unidentified message producer, using theMessageProducer's default delivery mode, priority, and time to live, performing part of the work involved in sending the message in a separate thread and notifying the specified CompletionListener when the operation has completed.voidMessageProducer. send(Message message)Sends a message using theMessageProducer's default delivery mode, priority, and time to live.voidMessageProducer. send(Message message, int deliveryMode, int priority, long timeToLive)Sends a message, specifying delivery mode, priority, and time to live.voidMessageProducer. send(Message message, int deliveryMode, int priority, long timeToLive, CompletionListener completionListener)Sends a message, specifying delivery mode, priority and time to live, performing part of the work involved in sending the message in a separate thread and notifying the specified CompletionListener when the operation has completed.voidMessageProducer. send(Message message, CompletionListener completionListener)Sends a message using theMessageProducer's default delivery mode, priority, and time to live, performing part of the work involved in sending the message in a separate thread and notifying the specified CompletionListener when the operation has completed.voidQueueSender. send(Message message)Sends a message to the queue.voidQueueSender. send(Message message, int deliveryMode, int priority, long timeToLive)Sends a message to the queue, specifying delivery mode, priority, and time to live.voidQueueSender. send(Queue queue, Message message)Sends a message to a queue for an unidentified message producer.voidQueueSender. send(Queue queue, Message message, int deliveryMode, int priority, long timeToLive)Sends a message to a queue for an unidentified message producer, specifying delivery mode, priority and time to live. -
Uses of Message in org.apache.activemq.artemis.api.jms.management
Methods in org.apache.activemq.artemis.api.jms.management with parameters of type Message Modifier and Type Method Description static ObjectJMSManagementHelper. getResult(Message message)Returns the result of an operation invocation or an attribute value.static ObjectJMSManagementHelper. getResult(Message message, Class desiredType)Returns the result of an operation invocation or an attribute value.static Object[]JMSManagementHelper. getResults(Message message)Returns the result of an operation invocation or an attribute value.static booleanJMSManagementHelper. hasOperationSucceeded(Message message)Returns whether the invocation of the management operation on the server resource succeeded.static booleanJMSManagementHelper. isAttributesResult(Message message)Returns whether the JMS message corresponds to the result of a management attribute value.static booleanJMSManagementHelper. isOperationResult(Message message)Returns whether the JMS message corresponds to the result of a management operation invocation.static voidJMSManagementHelper. putAttribute(Message message, String resourceName, String attribute)Stores a resource attribute in a JMS message to retrieve the value from the server resource.static voidJMSManagementHelper. putOperationInvocation(Message message, String resourceName, String operationName)Stores an operation invocation in a JMS message to invoke the corresponding operation the value from the server resource.static voidJMSManagementHelper. putOperationInvocation(Message message, String resourceName, String operationName, Object... parameters)Stores an operation invocation in a JMS message to invoke the corresponding operation the value from the server resource. -
Uses of Message in org.apache.activemq.artemis.jms.client
Classes in org.apache.activemq.artemis.jms.client that implement Message Modifier and Type Class Description classActiveMQBytesMessageActiveMQ Artemis implementation of a JMSBytesMessage.classActiveMQMapMessageActiveMQ Artemis implementation of a JMS MapMessage.classActiveMQMessageActiveMQ Artemis implementation of a JMS Message.classActiveMQObjectMessageActiveMQ Artemis implementation of a JMS ObjectMessage.classActiveMQStreamMessageActiveMQ Artemis implementation of a JMS StreamMessage.classActiveMQTextMessageActiveMQ Artemis implementation of a JMS TextMessage.Methods in org.apache.activemq.artemis.jms.client that return Message Modifier and Type Method Description MessageActiveMQJMSContext. createMessage()MessageActiveMQSession. createMessage()MessageActiveMQJMSConsumer. receive()MessageActiveMQJMSConsumer. receive(long timeout)MessageActiveMQMessageConsumer. receive()MessageActiveMQMessageConsumer. receive(long timeout)MessageActiveMQJMSConsumer. receiveNoWait()MessageActiveMQMessageConsumer. receiveNoWait()Methods in org.apache.activemq.artemis.jms.client with parameters of type Message Modifier and Type Method Description voidActiveMQMessageProducer. publish(Message message)voidActiveMQMessageProducer. publish(Message message, int deliveryMode, int priority, long timeToLive)voidActiveMQMessageProducer. publish(Topic topic, Message message)voidActiveMQMessageProducer. publish(Topic topic, Message message, int deliveryMode, int priority, long timeToLive)JMSProducerActiveMQJMSProducer. send(Destination destination, Message message)voidActiveMQMessageProducer. send(Destination destination, Message message)voidActiveMQMessageProducer. send(Destination destination, Message message, int deliveryMode, int priority, long timeToLive)voidActiveMQMessageProducer. send(Destination destination, Message message, int deliveryMode, int priority, long timeToLive, CompletionListener completionListener)voidActiveMQMessageProducer. send(Destination destination, Message message, CompletionListener completionListener)voidActiveMQMessageProducer. send(Message message)voidActiveMQMessageProducer. send(Message message, int deliveryMode, int priority, long timeToLive)voidActiveMQMessageProducer. send(Message message, int deliveryMode, int priority, long timeToLive, CompletionListener completionListener)voidActiveMQMessageProducer. send(Message message, CompletionListener completionListener)voidActiveMQMessageProducer. send(Queue queue, Message message)voidActiveMQMessageProducer. send(Queue queue, Message message, int deliveryMode, int priority, long timeToLive)Constructors in org.apache.activemq.artemis.jms.client with parameters of type Message Constructor Description ActiveMQMessage(Message foreign, byte type, ClientSession session)ActiveMQMessage(Message foreign, ClientSession session) -
Uses of Message in org.apache.activemq.artemis.jms.client.compatible1X
Classes in org.apache.activemq.artemis.jms.client.compatible1X that implement Message Modifier and Type Class Description classActiveMQBytesCompatibleMessageclassActiveMQCompatibleMessageclassActiveMQMapCompatibleMessageclassActiveMQObjectCompatibleMessageclassActiveMQStreamCompatibleMessageclassActiveMQTextCompatibleMessageConstructors in org.apache.activemq.artemis.jms.client.compatible1X with parameters of type Message Constructor Description ActiveMQCompatibleMessage(Message foreign, byte type, ClientSession session)ActiveMQCompatibleMessage(Message foreign, ClientSession session)
-