Uses of Interface
jakarta.jms.Message
Packages that use Message
Package
Description
-
Uses of Message in jakarta.jms
Subinterfaces of Message in jakarta.jmsModifier and TypeInterfaceDescriptioninterfaceABytesMessageobject is used to send a message containing a stream of uninterpreted bytes.interfaceAMapMessageobject is used to send a set of name-value pairs.interfaceAnObjectMessageobject is used to send a message that contains a serializable object in the Java programming language ("Java object").interfaceAStreamMessageobject is used to send a stream of primitive types in the Java programming language.interfaceATextMessageobject is used to send a message containing ajava.lang.String.Methods in jakarta.jms that return MessageModifier and TypeMethodDescriptionJMSContext.createMessage()Creates aMessageobject.Session.createMessage()Creates aMessageobject.JMSConsumer.receive()Receives the next message produced for thisJMSConsumer.JMSConsumer.receive(long timeout) Receives the next message that arrives within the specified timeout interval.MessageConsumer.receive()Receives the next message produced for this message consumer.MessageConsumer.receive(long timeout) Receives the next message that arrives within the specified timeout interval.JMSConsumer.receiveNoWait()Receives the next message if one is immediately available.MessageConsumer.receiveNoWait()Receives the next message if one is immediately available.Sends a request and waits for a reply.Sends a request and waits for a reply.Methods in jakarta.jms with parameters of type MessageModifier and TypeMethodDescriptionvoidCompletionListener.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.voidPasses a message to the listener.voidPublishes a message to the topic.voidPublishes a message to the topic, specifying delivery mode, priority, and time to live.voidPublishes 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.Sends a request and waits for a reply.Sends a request and waits for a reply.JMSProducer.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.voidSends a message using theMessageProducer's default delivery mode, priority, and time to live.voidSends 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.voidSends a message to the queue.voidSends a message to the queue, specifying delivery mode, priority, and time to live.voidSends a message to a queue for an unidentified message producer.voidSends 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 MessageModifier and TypeMethodDescriptionstatic ObjectReturns the result of an operation invocation or an attribute value; if an error occurred on the serverJMSManagementHelper.hasOperationSucceeded(Message)will returnfalseand the result will be aStringcorresponding to the server exception.static ObjectReturns the result of an operation invocation or an attribute value; if an error occurred on the serverJMSManagementHelper.hasOperationSucceeded(Message)will returnfalseand the result will be aStringcorresponding to the server exception.static Object[]JMSManagementHelper.getResults(Message message) Returns the result of an operation invocation or an attribute value; if an error occurred on the serverJMSManagementHelper.hasOperationSucceeded(Message)will returnfalseand the result will be aStringcorresponding to the server exception.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 MessageModifier and TypeClassDescriptionclassActiveMQ Artemis implementation of a JMSBytesMessage.classActiveMQ Artemis implementation of a JMS MapMessage.classActiveMQ Artemis implementation of a JMS Message.classActiveMQ Artemis implementation of a JMS ObjectMessage.classActiveMQ Artemis implementation of a JMS StreamMessage.classActiveMQ Artemis implementation of a JMS TextMessage.Methods in org.apache.activemq.artemis.jms.client that return MessageModifier and TypeMethodDescriptionActiveMQJMSContext.createMessage()ActiveMQSession.createMessage()Creates aMessageobject.ActiveMQJMSConsumer.receive()ActiveMQJMSConsumer.receive(long timeout) ActiveMQMessageConsumer.receive()ActiveMQMessageConsumer.receive(long timeout) ActiveMQJMSConsumer.receiveNoWait()ActiveMQMessageConsumer.receiveNoWait()Methods in org.apache.activemq.artemis.jms.client with parameters of type MessageModifier and TypeMethodDescriptionvoidvoidvoidvoidActiveMQMessageProducer.publish(Topic topic, Message message, int deliveryMode, int priority, long timeToLive) ActiveMQJMSProducer.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) voidvoidvoidActiveMQMessageProducer.send(Message message, int deliveryMode, int priority, long timeToLive, CompletionListener completionListener) voidActiveMQMessageProducer.send(Message message, CompletionListener completionListener) voidvoidActiveMQMessageProducer.send(Queue queue, Message message, int deliveryMode, int priority, long timeToLive) Constructors in org.apache.activemq.artemis.jms.client with parameters of type MessageModifierConstructorDescriptionprotectedActiveMQMessage(Message foreign, byte type, ClientSession session) ActiveMQMessage(Message foreign, ClientSession session) A constructor that takes a foreign message -
Uses of Message in org.apache.activemq.artemis.jms.client.compatible1X
Classes in org.apache.activemq.artemis.jms.client.compatible1X that implement MessageModifier and TypeClassDescriptionclassclassclassclassclassclassConstructors in org.apache.activemq.artemis.jms.client.compatible1X with parameters of type MessageModifierConstructorDescriptionActiveMQCompatibleMessage(Message foreign, byte type, ClientSession session) ActiveMQCompatibleMessage(Message foreign, ClientSession session) -
Uses of Message in org.apache.activemq.artemis.ra
Classes in org.apache.activemq.artemis.ra that implement MessageModifier and TypeClassDescriptionclassA wrapper for aBytesMessageclassA wrapper for aMapMessage.classA wrapper for aMessage.classA wrapper for aObjectMessage.classA wrapper for aStreamMessage.classA wrapper for aTextMessage.Fields in org.apache.activemq.artemis.ra declared as MessageMethods in org.apache.activemq.artemis.ra that return MessageModifier and TypeMethodDescriptionActiveMQRASession.createMessage()Creates aMessageobject.ActiveMQRAMessageConsumer.receive()Receives the next message produced for this message consumer.ActiveMQRAMessageConsumer.receive(long timeout) Receives the next message that arrives within the specified timeout interval.ActiveMQRAMessageConsumer.receiveNoWait()Receives the next message if one is immediately available.Methods in org.apache.activemq.artemis.ra with parameters of type MessageModifier and TypeMethodDescriptionvoidPasses a message to the listener.voidPublishes a message to the topic.voidPublishes a message to the topic, specifying delivery mode, priority, and time to live.voidPublishes a message to a topic for an unidentified message producer.voidActiveMQRATopicPublisher.publish(Topic destination, 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.voidActiveMQRAMessageProducer.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.voidActiveMQRAMessageProducer.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.voidActiveMQRAMessageProducer.send(Destination destination, Message message, int deliveryMode, int priority, long timeToLive, CompletionListener completionListener) voidActiveMQRAMessageProducer.send(Destination destination, Message message, CompletionListener completionListener) voidSends a message using theMessageProducer's default delivery mode, priority, and time to live.voidSends a message, specifying delivery mode, priority, and time to live.voidActiveMQRAMessageProducer.send(Message message, int deliveryMode, int priority, long timeToLive, CompletionListener completionListener) voidActiveMQRAMessageProducer.send(Message message, CompletionListener completionListener) voidSends a message to a queue for an unidentified message producer.voidActiveMQRAQueueSender.send(Queue destination, 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.Constructors in org.apache.activemq.artemis.ra with parameters of type Message