public class AMQPStandardMessage extends AMQPMessage
AMQPMessage.MessageDataScanningStatus| Modifier and Type | Field and Description |
|---|---|
protected org.apache.qpid.proton.codec.ReadableBuffer |
data |
address, ADDRESS_PROPERTY, applicationProperties, applicationPropertiesPosition, connectionID, coreMessageObjectPools, DEFAULT_MESSAGE_FORMAT, DEFAULT_MESSAGE_PRIORITY, deliveryAnnotationsForSendBuffer, deliveryAnnotationsPosition, encodedDeliveryAnnotationsSize, encodedHeaderSize, expiration, extraProperties, header, headerPosition, logger, MAX_MESSAGE_PRIORITY, memoryEstimate, messageAnnotations, messageAnnotationsPosition, messageDataScanned, messageFormat, messageID, modified, properties, propertiesPosition, rejectedConsumers, remainingBodyPosition, scheduledTime, VALUE_NOT_PRESENTBYTES_TYPE, DEFAULT_TYPE, EMBEDDED_TYPE, HDR_ACTUAL_EXPIRY_TIME, HDR_BRIDGE_DUPLICATE_ID, HDR_CONTENT_TYPE, HDR_DUPLICATE_DETECTION_ID, HDR_GROUP_ID, HDR_GROUP_SEQUENCE, HDR_LARGE_BODY_SIZE, HDR_LARGE_COMPRESSED, HDR_LAST_VALUE_NAME, HDR_ORIG_MESSAGE_ID, HDR_ORIGINAL_ADDRESS, HDR_ORIGINAL_QUEUE, HDR_PREFIX, HDR_ROUTE_TO_ACK_IDS, HDR_ROUTE_TO_IDS, HDR_ROUTING_TYPE, HDR_SCALEDOWN_TO_IDS, HDR_SCHEDULED_DELIVERY_TIME, HDR_VALIDATED_USER, INTERNAL_PROPERTY_NAMES_PREDICATE, LARGE_EMBEDDED_TYPE, MAP_TYPE, memoryOffset, OBJECT_TYPE, STREAM_TYPE, TEXT_TYPE| Constructor and Description |
|---|
AMQPStandardMessage(long messageFormat,
byte[] data,
TypedProperties extraProperties)
Creates a new
AMQPStandardMessage instance from binary encoded message data. |
AMQPStandardMessage(long messageFormat,
byte[] data,
TypedProperties extraProperties,
CoreMessageObjectPools coreMessageObjectPools)
Creates a new
AMQPStandardMessage instance from binary encoded message data. |
AMQPStandardMessage(long messageFormat,
org.apache.qpid.proton.codec.ReadableBuffer data,
TypedProperties extraProperties,
CoreMessageObjectPools coreMessageObjectPools)
Creates a new
AMQPStandardMessage instance from binary encoded message data. |
| Modifier and Type | Method and Description |
|---|---|
Message |
copy() |
Message |
copy(long newID) |
protected void |
encodeMessage() |
protected void |
ensureDataIsValid() |
protected org.apache.qpid.proton.codec.ReadableBuffer |
getData() |
int |
getEncodeSize() |
int |
getMemoryEstimate() |
long |
getPersistentSize() |
Persister<Message> |
getPersister() |
int |
getPersistSize() |
void |
persist(ActiveMQBuffer targetRecord) |
void |
reencode() |
void |
reloadPersistence(ActiveMQBuffer record,
CoreMessageObjectPools pools) |
acceptsConsumer, cachedAddressSimpleString, clearInternalProperties, containsProperty, containsProperty, createCopyWithNewDeliveryCount, createCopyWithSkippedOrExplicitlySetDeliveryAnnotations, createExtraProperties, ensureMessageDataScanned, ensureScanning, getAddress, getAddressSimpleString, getAMQPUserID, getAnnotation, getApplicationProperties, getApplicationPropertiesMap, getBody, getBooleanProperty, getBooleanProperty, getBrokerProperty, getBuffer, getByteProperty, getByteProperty, getBytesProperty, getBytesProperty, getConnectionID, getCorrelationID, getDecodedApplicationProperties, getDeliveryAnnotations, getDeliveryAnnotationsForSendBufferSize, getDoubleProperty, getDoubleProperty, getDuplicateProperty, getEstimateSavedEncode, getExpiration, getExtraBytesProperty, getExtraProperties, getFloatProperty, getFloatProperty, getFooter, getGroupID, getGroupSequence, getHeader, getIntProperty, getIntProperty, getLastValueProperty, getLongProperty, getLongProperty, getMessageAnnotation, getMessageAnnotation, getMessageAnnotations, getMessageAnnotationsMap, getMessageFormat, getMessageID, getObjectProperty, getObjectProperty, getObjectPropertyForFilter, getPriority, getProperties, getPropertyKeysPool, getPropertyNames, getPropertyValuesPool, getProtonMessage, getReplyTo, getRoutingType, getScheduledDeliveryTime, getSendBuffer, getShortProperty, getShortProperty, getSimpleStringProperty, getSimpleStringProperty, getStringProperty, getStringProperty, getTimestamp, getUserID, hasScheduledDeliveryTime, internalPersistSize, isDurable, lazyDecodeApplicationProperties, lazyScanAfterReloadPersistence, messageChanged, messageDataScanned, putBooleanProperty, putBooleanProperty, putByteProperty, putByteProperty, putBytesProperty, putBytesProperty, putCharProperty, putCharProperty, putDoubleProperty, putDoubleProperty, putExtraBytesProperty, putFloatProperty, putFloatProperty, putIntProperty, putIntProperty, putLongProperty, putLongProperty, putObjectProperty, putObjectProperty, putShortProperty, putShortProperty, putStringProperty, putStringProperty, putStringProperty, readSavedEncoding, receiveBuffer, rejectConsumer, removeAnnotation, removeExtraBytesProperty, removeMessageAnnotation, removeProperty, removeProperty, resetMessageData, saveEncoding, scanForMessageSection, scanMessageData, sendBuffer, setAddress, setAddress, setAnnotation, setBrokerProperty, setBuffer, setConnectionID, setCorrelationID, setDeliveryAnnotationsForSendBuffer, setDurable, setExpiration, setExtraProperties, setLastValueProperty, setMessageAnnotation, setMessageAnnotation, setMessageID, setPriority, setReplyTo, setRoutingType, setScheduledDeliveryTime, setTimestamp, setUserID, toCore, toCore, toDebugString, toString, writeDeliveryAnnotationsForSendBufferdebugRefs, debugString, durableDown, durableUp, getDurableCount, getParentRef, getRefCount, getUsage, refDown, refUp, releaseComplete, setParentRef, usageDown, usageUpclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdurableDown, durableUp, getAnnotationString, getBodyBuffer, getBodyInputStream, getDuplicateIDBytes, getDurableCount, getRefCount, getType, getUsage, getValidatedUserID, isExpired, isLargeMessage, refDown, referenceOriginalMessage, refUp, releaseBuffer, setGroupID, setGroupID, setGroupSequence, setType, setValidatedUserID, toMap, toPropertyMap, usageDown, usageUppublic AMQPStandardMessage(long messageFormat,
byte[] data,
TypedProperties extraProperties)
AMQPStandardMessage instance from binary encoded message data.messageFormat - The Message format tag given the in Transfer that carried this messagedata - The encoded AMQP messageextraProperties - Broker specific extra properties that should be carried with this messagepublic AMQPStandardMessage(long messageFormat,
byte[] data,
TypedProperties extraProperties,
CoreMessageObjectPools coreMessageObjectPools)
AMQPStandardMessage instance from binary encoded message data.messageFormat - The Message format tag given the in Transfer that carried this messagedata - The encoded AMQP messageextraProperties - Broker specific extra properties that should be carried with this messagecoreMessageObjectPools - Object pool used to accelerate some String operations.public AMQPStandardMessage(long messageFormat,
org.apache.qpid.proton.codec.ReadableBuffer data,
TypedProperties extraProperties,
CoreMessageObjectPools coreMessageObjectPools)
AMQPStandardMessage instance from binary encoded message data.messageFormat - The Message format tag given the in Transfer that carried this messagedata - The encoded AMQP message in an ReadableBuffer wrapper.extraProperties - Broker specific extra properties that should be carried with this messagecoreMessageObjectPools - Object pool used to accelerate some String operations.public Message copy()
copy in interface Messagecopy in class AMQPMessagepublic int getEncodeSize()
getEncodeSize in interface MessagegetEncodeSize in class AMQPMessageprotected org.apache.qpid.proton.codec.ReadableBuffer getData()
getData in class AMQPMessagepublic int getMemoryEstimate()
getMemoryEstimate in interface MessagegetMemoryEstimate in class AMQPMessagepublic void persist(ActiveMQBuffer targetRecord)
persist in interface Messagepersist in class AMQPMessagepublic final Message copy(long newID)
public int getPersistSize()
getPersistSize in interface MessagegetPersistSize in class AMQPMessagepublic void reloadPersistence(ActiveMQBuffer record, CoreMessageObjectPools pools)
reloadPersistence in interface MessagereloadPersistence in class AMQPMessagepublic long getPersistentSize()
throws ActiveMQException
getPersistentSize in interface MessagegetPersistentSize in class AMQPMessageActiveMQExceptionpublic Persister<Message> getPersister()
getPersister in interface MessagegetPersister in class AMQPMessagepublic void reencode()
reencode in interface Messagereencode in class AMQPMessageprotected void ensureDataIsValid()
ensureDataIsValid in class AMQPMessageprotected void encodeMessage()
encodeMessage in class AMQPMessageCopyright © 2020 The Apache Software Foundation. All Rights Reserved.