public class JmsMessageHeaderAccessor extends NativeMessageHeaderAccessor
MessageHeaderAccessor
実装。NATIVE_HEADERS
DEFAULT_CHARSET
修飾子 | コンストラクターと説明 |
---|---|
protected | JmsMessageHeaderAccessor(java.util.Map<java.lang.String,java.util.List<java.lang.String>> nativeHeaders) |
protected | JmsMessageHeaderAccessor(Message<?> message) |
修飾子と型 | メソッドと説明 |
---|---|
java.lang.String | getCorrelationId() correlationId を返します。 |
java.lang.Integer | getDeliveryMode() delivery mode を返します。 |
DestinationEE | getDestination() destination を返します。 |
java.lang.Long | getExpiration() メッセージ expiration を返します。 |
java.lang.String | getMessageId() message id を返します。 |
java.lang.Integer | getPriority() priority を返します。 |
java.lang.Boolean | getRedelivered() redelivered フラグを返します。 |
DestinationEE | getReplyTo() reply to を返します。 |
java.lang.Long | getTimestamp() timestamp を返します。 |
java.lang.String | getType() type を返します。 |
static JmsMessageHeaderAccessor | wrap(Message<?> message) 既存のメッセージのヘッダーから JmsMessageHeaderAccessor を作成します。 |
addNativeHeader, addNativeHeaders, containsNativeHeader, getFirstNativeHeader, getFirstNativeHeader, getNativeHeader, getNativeHeaders, removeNativeHeader, setImmutable, setNativeHeader, toNativeHeaderMap
copyHeaders, copyHeadersIfAbsent, createAccessor, getAccessor, getAccessor, getContentType, getDetailedLogMessage, getDetailedPayloadLogMessage, getErrorChannel, getHeader, getId, getMessageHeaders, getMutableAccessor, getReplyChannel, getShortLogMessage, getShortPayloadLogMessage, isModified, isMutable, isReadableContentType, isReadOnly, removeHeader, removeHeaders, setContentType, setErrorChannel, setErrorChannelName, setHeader, setHeaderIfAbsent, setLeaveMutable, setModified, setReplyChannel, setReplyChannelName, toMap, toMessageHeaders, toString, verifyType
protected JmsMessageHeaderAccessor(java.util.Map<java.lang.String,java.util.List<java.lang.String>> nativeHeaders)
protected JmsMessageHeaderAccessor(Message<?> message)
@Nullable public java.lang.String getCorrelationId()
correlationId
を返します。@Nullable public DestinationEE getDestination()
destination
を返します。@Nullable public java.lang.Integer getDeliveryMode()
delivery mode
を返します。@Nullable public java.lang.Long getExpiration()
expiration
を返します。@Nullable public java.lang.String getMessageId()
message id
を返します。@Nullable public java.lang.Integer getPriority()
priority
を返します。JmsHeaders.PRIORITY
@Nullable public DestinationEE getReplyTo()
reply to
を返します。JmsHeaders.REPLY_TO
@Nullable public java.lang.Boolean getRedelivered()
redelivered
フラグを返します。@Nullable public java.lang.String getType()
type
を返します。JmsHeaders.TYPE
@Nullable public java.lang.Long getTimestamp()
timestamp
を返します。MessageHeaderAccessor
の getTimestamp
JmsHeaders.TIMESTAMP
public static JmsMessageHeaderAccessor wrap(Message<?> message)
JmsMessageHeaderAccessor
を作成します。