public class MessageProperties extends ObjectSE implements SerializableSE
| 修飾子と型 | フィールドと説明 |
|---|---|
static StringSE | BATCH_FORMAT_LENGTH_HEADER4 |
static StringSE | CONTENT_TYPE_BYTES |
static StringSE | CONTENT_TYPE_JSON |
static StringSE | CONTENT_TYPE_JSON_ALT |
static StringSE | CONTENT_TYPE_SERIALIZED_OBJECT |
static StringSE | CONTENT_TYPE_TEXT_PLAIN |
static StringSE | CONTENT_TYPE_XML |
static StringSE | DEFAULT_CONTENT_TYPE |
static MessageDeliveryMode | DEFAULT_DELIVERY_MODE |
static IntegerSE | DEFAULT_PRIORITY |
static StringSE | SPRING_AUTO_DECOMPRESS |
static StringSE | SPRING_BATCH_FORMAT |
static StringSE | X_DELAY |
| コンストラクターと説明 |
|---|
MessageProperties() |
cloneSE, finalizeSE, getClassSE, notifySE, notifyAllSE, waitSE, waitSE, waitSEpublic static final StringSE CONTENT_TYPE_SERIALIZED_OBJECT
public static final MessageDeliveryMode DEFAULT_DELIVERY_MODE
public static final IntegerSE DEFAULT_PRIORITY
public <T> T getHeader(StringSE headerName)
T - 型。headerName - ヘッダー名。public void setTimestamp(DateSE timestamp)
public DateSE getTimestamp()
public void setMessageId(StringSE messageId)
public StringSE getMessageId()
public void setUserId(StringSE userId)
public StringSE getUserId()
public StringSE getReceivedUserId()
public void setReceivedUserId(StringSE receivedUserId)
public void setAppId(StringSE appId)
public StringSE getAppId()
public void setClusterId(StringSE clusterId)
public StringSE getClusterId()
public void setType(StringSE type)
public StringSE getType()
public void setCorrelationId(StringSE correlationId)
correlationId - ID。public StringSE getCorrelationId()
public void setReplyTo(StringSE replyTo)
public StringSE getReplyTo()
public void setReplyToAddress(Address replyTo)
public Address getReplyToAddress()
public void setContentType(StringSE contentType)
public StringSE getContentType()
public void setContentEncoding(StringSE contentEncoding)
public StringSE getContentEncoding()
public void setContentLength(long contentLength)
public long getContentLength()
protected final boolean isContentLengthSet()
public void setDeliveryMode(MessageDeliveryMode deliveryMode)
public MessageDeliveryMode getDeliveryMode()
public MessageDeliveryMode getReceivedDeliveryMode()
public void setReceivedDeliveryMode(MessageDeliveryMode receivedDeliveryMode)
public void setExpiration(StringSE expiration)
public StringSE getExpiration()
public void setPriority(IntegerSE priority)
public IntegerSE getPriority()
public void setReceivedExchange(StringSE receivedExchange)
public StringSE getReceivedExchange()
public void setReceivedRoutingKey(StringSE receivedRoutingKey)
public StringSE getReceivedRoutingKey()
public IntegerSE getReceivedDelay()
getDelay()public void setReceivedDelay(IntegerSE receivedDelay)
receivedDelay - 受け取った遅延。public void setRedelivered(BooleanSE redelivered)
public BooleanSE isRedelivered()
public BooleanSE getRedelivered()
public void setDeliveryTag(long deliveryTag)
public long getDeliveryTag()
protected final boolean isDeliveryTagSet()
public void setMessageCount(IntegerSE messageCount)
messageCount - カウント getMessageCount()public IntegerSE getMessageCount()
basicGet 経由で取得されたメッセージにのみ適用されます。public StringSE getConsumerTag()
public void setConsumerTag(StringSE consumerTag)
public StringSE getConsumerQueue()
public void setConsumerQueue(StringSE consumerQueue)
public IntegerSE getDelay()
getReceivedDelay()public void setDelay(IntegerSE delay)
delay - 遅延。public boolean isFinalRetryForMessageWithNoId()
public void setFinalRetryForMessageWithNoId(boolean finalRetryForMessageWithNoId)
public long getPublishSequenceNumber()
public void setPublishSequenceNumber(long publishSequenceNumber)
publishSequenceNumber - シーケンス番号。public TypeSE getInferredArgumentType()
@RabbitListener を使用する場合に推定されるターゲット引数の型。public void setInferredArgumentType(TypeSE inferredArgumentType)
@RabbitListener を使用する場合は、推定されるターゲット引数の型を設定します。inferredArgumentType - 型。public MethodSE getTargetMethod()
@RabbitListener を使用する場合のターゲットメソッド。public void setTargetMethod(MethodSE targetMethod)
@RabbitListener を使用する場合は、ターゲットメソッドを設定します。targetMethod - ターゲットメソッド。public ObjectSE getTargetBean()
@RabbitListener を使用する場合のターゲット Bean。public void setTargetBean(ObjectSE targetBean)
@RabbitListener を使用する場合は、対象の Bean を設定します。targetBean - Bean。public boolean isLastInBatch()
public void setLastInBatch(boolean lastInBatch)
lastInBatch - 最後に当てはまります。public int hashCode()
ObjectSE の hashCodeSE public StringSE toString()
ObjectSE の toStringSE