BYTES_TYPE, DEFAULT_TYPE, EMBEDDED_TYPE, HDR_ACTUAL_EXPIRY_TIME, HDR_BRIDGE_DUPLICATE_ID, HDR_CONTENT_TYPE, HDR_DUPLICATE_DETECTION_ID, HDR_GROUP_ID, 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, MAP_TYPE, memoryOffset, OBJECT_TYPE, STREAM_TYPE, TEXT_TYPE| Constructor and Description |
|---|
RefCountMessage() |
| Modifier and Type | Method and Description |
|---|---|
int |
decrementDurableRefCount() |
int |
decrementRefCount() |
RefCountMessageListener |
getContext()
Context can be used by the application server to inject extra control, like a protocol specific on the server.
|
int |
getRefCount() |
int |
incrementDurableRefCount() |
int |
incrementRefCount() |
Message |
setContext(RefCountMessageListener context) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitacceptsConsumer, cleanupInternalProperties, containsProperty, containsProperty, copy, copy, getAddress, getAddressSimpleString, getAnnotation, getAnnotationString, getBodyBuffer, getBodyInputStream, getBooleanProperty, getBooleanProperty, getBuffer, getByteProperty, getByteProperty, getBytesProperty, getBytesProperty, getConnectionID, getDoubleProperty, getDoubleProperty, getDuplicateIDBytes, getDuplicateProperty, getEncodeSize, getExpiration, getExtraBytesProperty, getFloatProperty, getFloatProperty, getGroupID, getIntProperty, getIntProperty, getLastValueProperty, getLongProperty, getLongProperty, getMemoryEstimate, getMessageID, getObjectProperty, getObjectProperty, getPersistentSize, getPersister, getPersistSize, getPriority, getPropertyNames, getReplyTo, getRoutingType, getScheduledDeliveryTime, getShortProperty, getShortProperty, getSimpleStringProperty, getSimpleStringProperty, getStringProperty, getStringProperty, getTimestamp, getType, getUserID, getValidatedUserID, isDurable, isExpired, isLargeMessage, messageChanged, persist, putBooleanProperty, putBooleanProperty, putByteProperty, putByteProperty, putBytesProperty, putBytesProperty, putCharProperty, putCharProperty, putDoubleProperty, putDoubleProperty, putExtraBytesProperty, putFloatProperty, putFloatProperty, putIntProperty, putIntProperty, putLongProperty, putLongProperty, putObjectProperty, putObjectProperty, putShortProperty, putShortProperty, putStringProperty, putStringProperty, putStringProperty, receiveBuffer, reencode, referenceOriginalMessage, rejectConsumer, releaseBuffer, reloadPersistence, removeAnnotation, removeExtraBytesProperty, removeProperty, removeProperty, sendBuffer, setAddress, setAddress, setAnnotation, setBuffer, setConnectionID, setDurable, setExpiration, setLastValueProperty, setMessageID, setPriority, setReplyTo, setRoutingType, setScheduledDeliveryTime, setTimestamp, setType, setUserID, setValidatedUserID, toCore, toCore, toMap, toPropertyMappublic Message setContext(RefCountMessageListener context)
setContext in interface Messagepublic RefCountMessageListener getContext()
MessagegetContext in interface Messagepublic int getRefCount()
getRefCount in interface Messagepublic int incrementRefCount()
throws Exception
incrementRefCount in interface MessageExceptionpublic int incrementDurableRefCount()
incrementDurableRefCount in interface Messagepublic int decrementDurableRefCount()
decrementDurableRefCount in interface Messagepublic int decrementRefCount()
throws Exception
decrementRefCount in interface MessageExceptionCopyright © 2018 The Apache Software Foundation. All rights reserved.