Uses of Interface
org.apache.activemq.artemis.api.core.Message
-
-
Uses of Message in org.apache.activemq.artemis.api.core
Subinterfaces of Message in org.apache.activemq.artemis.api.core Modifier and Type Interface Description interfaceICoreMessageThis interface is only to determine the API of methods required for Core MessagesMethods in org.apache.activemq.artemis.api.core that return Message Modifier and Type Method Description MessageMessage. copy()It will generate a new instance of the message encode, being a deep copy, new properties, new everythingMessageMessage. copy(long newID)It will generate a new instance of the message encode, being a deep copy, new properties, new everythingdefault MessageMessage. copy(long newID, boolean isExpiryOrDLQ)It will generate a new instance of the message encode, being a deep copy, new properties, new everythingMessageMessage. putBooleanProperty(String key, boolean value)MessageMessage. putBooleanProperty(SimpleString key, boolean value)MessageMessage. putByteProperty(String key, byte value)MessageMessage. putByteProperty(SimpleString key, byte value)MessageMessage. putBytesProperty(String key, byte[] value)MessageMessage. putBytesProperty(SimpleString key, byte[] value)MessageMessage. putCharProperty(String key, char value)MessageMessage. putCharProperty(SimpleString key, char value)MessageMessage. putDoubleProperty(String key, double value)MessageMessage. putDoubleProperty(SimpleString key, double value)default MessageMessage. putExtraBytesProperty(SimpleString key, byte[] value)MessageMessage. putFloatProperty(String key, float value)MessageMessage. putFloatProperty(SimpleString key, float value)MessageMessage. putIntProperty(String key, int value)MessageMessage. putIntProperty(SimpleString key, int value)MessageMessage. putLongProperty(String key, long value)MessageMessage. putLongProperty(SimpleString key, long value)MessageMessage. putObjectProperty(String key, Object value)MessageMessage. putObjectProperty(SimpleString key, Object value)MessageMessage. putShortProperty(String key, short value)MessageMessage. putShortProperty(SimpleString key, short value)MessageMessage. putStringProperty(String key, String value)Puts a String property in this message.MessageMessage. putStringProperty(SimpleString key, String value)MessageMessage. putStringProperty(SimpleString key, SimpleString value)MessageMessage. setAddress(String address)Look atsetAddress(SimpleString)for the doc.MessageMessage. setAddress(SimpleString address)This will set the address on CoreMessage.default MessageMessage. setAnnotation(SimpleString key, Object value)Callers must callreencode()in order to be sent to clientsdefault MessageMessage. setBrokerProperty(SimpleString key, Object value)To be called by the broker on ocasions such as DLQ and expiry.MessageICoreMessage. setBuffer(io.netty.buffer.ByteBuf buffer)The buffer will belong to this message, until release is called.default MessageMessage. setConnectionID(String connectionID)default MessageMessage. setCorrelationID(Object correlationID)MessageMessage. setDurable(boolean durable)Sets whether this message is durable or not.MessageMessage. setExpiration(long expiration)Sets the expiration of this message.default MessageMessage. setGroupID(String groupID)default MessageMessage. setGroupID(SimpleString groupID)default MessageMessage. setGroupSequence(int sequence)default MessageMessage. setIngressTimestamp()default MessageMessage. setLastValueProperty(SimpleString lastValueName)MessageMessage. setMessageID(long id)MessageMessage. setPriority(byte priority)Sets the message priority.MessageMessage. setReplyTo(SimpleString address)default MessageMessage. setRoutingType(RoutingType routingType)default MessageMessage. setScheduledDeliveryTime(Long time)MessageMessage. setTimestamp(long timestamp)default MessageMessage. setType(byte type)Deprecated.do not use this, use through ICoreMessage or ClientMessageMessageMessage. setUserID(Object userID)default MessageMessage. setValidatedUserID(String validatedUserID)Methods in org.apache.activemq.artemis.api.core that return types with arguments of type Message Modifier and Type Method Description org.apache.activemq.artemis.core.persistence.Persister<Message>Message. getPersister()Methods in org.apache.activemq.artemis.api.core with parameters of type Message Modifier and Type Method Description static voidRefCountMessage. deferredDebug(Message message, String debugMessage, Object... args)voidRefCountMessageListener. durableDown(Message message, int durableCount)voidRefCountMessageListener. durableUp(Message message, int durableCount)voidICoreMessage. moveHeadersAndProperties(Message msg)Used on large messages treatment.voidRefCountMessageListener. refDown(Message message, int nonDurableCoun)default voidMessage. referenceOriginalMessage(Message original, SimpleString originalQueue)voidRefCountMessageListener. refUp(Message message, int nonDurableCoun)default voidRefCountMessageListener. usageDown(Message message, int usageCount)default voidRefCountMessageListener. usageUp(Message message, int usageCount) -
Uses of Message in org.apache.activemq.artemis.api.core.client
Subinterfaces of Message in org.apache.activemq.artemis.api.core.client Modifier and Type Interface Description interfaceClientMessageA ClientMessage represents a message sent and/or received by ActiveMQ Artemis.Methods in org.apache.activemq.artemis.api.core.client with parameters of type Message Modifier and Type Method Description voidClientProducer. send(String address, Message message)Sends a message to the specified address instead of the ClientProducer's address.voidClientProducer. send(Message message)Sends a message to an address.voidClientProducer. send(Message message, SendAcknowledgementHandler handler)Sends a message to the specified address instead of the ClientProducer's address.voidClientProducer. send(SimpleString address, Message message)Sends a message to the specified address instead of the ClientProducer's address.voidClientProducer. send(SimpleString address, Message message, SendAcknowledgementHandler handler)Sends a message to the specified address instead of the ClientProducer's address.voidSendAcknowledgementHandler. sendAcknowledged(Message message)Notifies the client that a message sent asynchronously has been received by the server.default voidSendAcknowledgementHandler. sendFailed(Message message, Exception e) -
Uses of Message in org.apache.activemq.artemis.api.core.management
Methods in org.apache.activemq.artemis.api.core.management with parameters of type Message Modifier and Type Method Description static booleanManagementHelper. hasOperationSucceeded(Message message)Returns whether the invocation of the management operation on the server resource succeeded.static booleanManagementHelper. isAttributesResult(Message message)Returns whether the JMS message corresponds to the result of a management attribute value.static booleanManagementHelper. isOperationResult(Message message)Returns whether the JMS message corresponds to the result of a management operation invocation.static Object[]ManagementHelper. retrieveOperationParameters(Message message)Used by ActiveMQ Artemis management service. -
Uses of Message in org.apache.activemq.artemis.spi.core.remoting
Methods in org.apache.activemq.artemis.spi.core.remoting with parameters of type Message Modifier and Type Method Description abstract voidSessionContext. expireMessage(ClientConsumer consumer, Message message)abstract intSessionContext. getCreditsOnSendingFull(Message msgI)abstract voidSessionContext. sendACK(boolean individual, boolean block, ClientConsumer consumer, Message message)abstract intSessionContext. sendInitialChunkOnLargeMessage(Message msgI)it should return the number of credits (or bytes) used to send this packetabstract intSessionContext. sendLargeMessageChunk(Message msgI, long messageBodySize, boolean sendBlocking, boolean lastChunk, byte[] chunk, int reconnectID, int senderID, SendAcknowledgementHandler messageHandler)abstract intSessionContext. sendServerLargeMessageChunk(Message msgI, long messageBodySize, boolean sendBlocking, boolean lastChunk, byte[] chunk, int senderID, SendAcknowledgementHandler messageHandler)
-