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(java.lang.String key, boolean value)MessageMessage. putBooleanProperty(org.apache.activemq.artemis.api.core.SimpleString key, boolean value)MessageMessage. putByteProperty(java.lang.String key, byte value)MessageMessage. putByteProperty(org.apache.activemq.artemis.api.core.SimpleString key, byte value)MessageMessage. putBytesProperty(java.lang.String key, byte[] value)MessageMessage. putBytesProperty(org.apache.activemq.artemis.api.core.SimpleString key, byte[] value)MessageMessage. putCharProperty(java.lang.String key, char value)MessageMessage. putCharProperty(org.apache.activemq.artemis.api.core.SimpleString key, char value)MessageMessage. putDoubleProperty(java.lang.String key, double value)MessageMessage. putDoubleProperty(org.apache.activemq.artemis.api.core.SimpleString key, double value)default MessageMessage. putExtraBytesProperty(org.apache.activemq.artemis.api.core.SimpleString key, byte[] value)MessageMessage. putFloatProperty(java.lang.String key, float value)MessageMessage. putFloatProperty(org.apache.activemq.artemis.api.core.SimpleString key, float value)MessageMessage. putIntProperty(java.lang.String key, int value)MessageMessage. putIntProperty(org.apache.activemq.artemis.api.core.SimpleString key, int value)MessageMessage. putLongProperty(java.lang.String key, long value)MessageMessage. putLongProperty(org.apache.activemq.artemis.api.core.SimpleString key, long value)MessageMessage. putObjectProperty(java.lang.String key, java.lang.Object value)MessageMessage. putObjectProperty(org.apache.activemq.artemis.api.core.SimpleString key, java.lang.Object value)MessageMessage. putShortProperty(java.lang.String key, short value)MessageMessage. putShortProperty(org.apache.activemq.artemis.api.core.SimpleString key, short value)MessageMessage. putStringProperty(java.lang.String key, java.lang.String value)Puts a String property in this message.MessageMessage. putStringProperty(org.apache.activemq.artemis.api.core.SimpleString key, java.lang.String value)MessageMessage. putStringProperty(org.apache.activemq.artemis.api.core.SimpleString key, org.apache.activemq.artemis.api.core.SimpleString value)MessageMessage. setAddress(java.lang.String address)Look atsetAddress(SimpleString)for the doc.MessageMessage. setAddress(org.apache.activemq.artemis.api.core.SimpleString address)This will set the address on CoreMessage.default MessageMessage. setAnnotation(org.apache.activemq.artemis.api.core.SimpleString key, java.lang.Object value)Callers must callreencode()in order to be sent to clientsdefault MessageMessage. setBrokerProperty(org.apache.activemq.artemis.api.core.SimpleString key, java.lang.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(java.lang.String connectionID)default MessageMessage. setCorrelationID(java.lang.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(java.lang.String groupID)default MessageMessage. setGroupID(org.apache.activemq.artemis.api.core.SimpleString groupID)default MessageMessage. setGroupSequence(int sequence)default MessageMessage. setIngressTimestamp()default MessageMessage. setLastValueProperty(org.apache.activemq.artemis.api.core.SimpleString lastValueName)MessageMessage. setMessageID(long id)MessageMessage. setPriority(byte priority)Sets the message priority.MessageMessage. setReplyTo(org.apache.activemq.artemis.api.core.SimpleString address)default MessageMessage. setRoutingType(org.apache.activemq.artemis.api.core.RoutingType routingType)default MessageMessage. setScheduledDeliveryTime(java.lang.Long time)MessageMessage. setTimestamp(long timestamp)default MessageMessage. setType(byte type)Deprecated.do not use this, use through ICoreMessage or ClientMessageMessageMessage. setUserID(java.lang.Object userID)default MessageMessage. setValidatedUserID(java.lang.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 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, org.apache.activemq.artemis.api.core.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(java.lang.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(org.apache.activemq.artemis.api.core.SimpleString address, Message message)Sends a message to the specified address instead of the ClientProducer's address.voidClientProducer. send(org.apache.activemq.artemis.api.core.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, java.lang.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 java.lang.Object[]ManagementHelper. retrieveOperationParameters(Message message)Used by ActiveMQ Artemis management service. -
Uses of Message in org.apache.activemq.artemis.jms.transaction
Methods in org.apache.activemq.artemis.jms.transaction with parameters of type Message Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>JMSTransactionDetail. decodeMessageProperties(Message msg)java.lang.StringJMSTransactionDetail. decodeMessageType(Message msg) -
Uses of Message in org.apache.activemq.artemis.reader
Methods in org.apache.activemq.artemis.reader with parameters of type Message Modifier and Type Method Description static voidMessageUtil. clearProperties(Message message)static intMessageUtil. getIntProperty(Message message, java.lang.String name)static java.lang.StringMessageUtil. getJMSCorrelationID(Message message)static byte[]MessageUtil. getJMSCorrelationIDAsBytes(Message message)static org.apache.activemq.artemis.api.core.SimpleStringMessageUtil. getJMSReplyTo(Message message)static java.lang.StringMessageUtil. getJMSType(Message message)static longMessageUtil. getLongProperty(Message message, java.lang.String name)static java.lang.ObjectMessageUtil. getObjectProperty(Message message, java.lang.String name)static java.util.Set<java.lang.String>MessageUtil. getPropertyNames(Message message)static java.lang.StringMessageUtil. getStringProperty(Message message, java.lang.String name)static booleanMessageUtil. propertyExists(Message message, java.lang.String name)static voidMessageUtil. setIntProperty(Message message, java.lang.String name, int value)static voidMessageUtil. setJMSCorrelationID(Message message, java.lang.String correlationID)static voidMessageUtil. setJMSCorrelationIDAsBytes(Message message, byte[] correlationID)static voidMessageUtil. setJMSReplyTo(Message message, java.lang.String dest)static voidMessageUtil. setJMSReplyTo(Message message, org.apache.activemq.artemis.api.core.SimpleString dest)static voidMessageUtil. setJMSType(Message message, java.lang.String type)static voidMessageUtil. setLongProperty(Message message, java.lang.String name, long value)static voidMessageUtil. setObjectProperty(Message message, java.lang.String name, java.lang.Object value)static voidMessageUtil. setStringProperty(Message message, java.lang.String name, java.lang.String value) -
Uses of Message in org.apache.activemq.artemis.spi.core.protocol
Classes in org.apache.activemq.artemis.spi.core.protocol with type parameters of type Message Modifier and Type Interface Description interfaceMessageConverter<ProtocolMessage extends Message>Methods in org.apache.activemq.artemis.spi.core.protocol that return Message Modifier and Type Method Description MessageMessagePersister. decode(org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer, Message record, org.apache.activemq.artemis.core.persistence.CoreMessageObjectPools pools)MessageMessagePersister. decode(org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer, Message record, org.apache.activemq.artemis.core.persistence.CoreMessageObjectPools pools, org.apache.activemq.artemis.core.persistence.StorageManager storageManager)static MessageEmbedMessageUtil. extractEmbedded(ICoreMessage message, org.apache.activemq.artemis.core.persistence.StorageManager storageManager)Methods in org.apache.activemq.artemis.spi.core.protocol that return types with arguments of type Message Modifier and Type Method Description default org.apache.activemq.artemis.core.persistence.Persister<Message>[]ProtocolManagerFactory. getPersister()Methods in org.apache.activemq.artemis.spi.core.protocol with parameters of type Message Modifier and Type Method Description MessageMessagePersister. decode(org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer, Message record, org.apache.activemq.artemis.core.persistence.CoreMessageObjectPools pools)MessageMessagePersister. decode(org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer, Message record, org.apache.activemq.artemis.core.persistence.CoreMessageObjectPools pools, org.apache.activemq.artemis.core.persistence.StorageManager storageManager)static ICoreMessageEmbedMessageUtil. embedAsCoreMessage(Message source)voidMessagePersister. encode(org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer, Message record)Sub classes must add the first short as the protocol-idintMessagePersister. getEncodeSize(Message record)intSessionCallback. sendLargeMessage(org.apache.activemq.artemis.core.server.MessageReference reference, Message message, org.apache.activemq.artemis.core.server.ServerConsumer consumerID, long bodySize, int deliveryCount)intSessionCallback. sendMessage(org.apache.activemq.artemis.core.server.MessageReference ref, Message message, org.apache.activemq.artemis.core.server.ServerConsumer consumerID, int deliveryCount)Method parameters in org.apache.activemq.artemis.spi.core.protocol with type arguments of type Message Modifier and Type Method Description static voidMessagePersister. registerPersister(org.apache.activemq.artemis.core.persistence.Persister<Message> persister) -
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, SendAcknowledgementHandler messageHandler)abstract intSessionContext. sendServerLargeMessageChunk(Message msgI, long messageBodySize, boolean sendBlocking, boolean lastChunk, byte[] chunk, SendAcknowledgementHandler messageHandler)
-