クラス StreamMessageProperties

java.lang.ObjectSE
org.springframework.amqp.core.MessageProperties
org.springframework.rabbit.stream.support.StreamMessageProperties
実装されたすべてのインターフェース:
SerializableSE

public class StreamMessageProperties extends MessageProperties
ストリームメッセージの MessageProperties 拡張。
導入:
2.4
作成者:
Gary Russell
関連事項:
  • コンストラクターの詳細

    • StreamMessageProperties

      public StreamMessageProperties()
      新しいインスタンスを作成します。
    • StreamMessageProperties

      public StreamMessageProperties(@Nullable com.rabbitmq.stream.MessageHandler.Context context)
      指定されたコンテキストで新しいインスタンスを作成します。
      パラメーター:
      context - コンテキスト。
  • メソッドの詳細

    • getContext

      @Nullable public com.rabbitmq.stream.MessageHandler.Context getContext()
      メッセージのストリーム MessageHandler.Context を返します。
      戻り値:
      コンテキスト。
    • getTo

      public StringSE getTo()
      Properties.getTo() を参照してください。
      戻り値:
      宛先アドレス。
    • setTo

      public void setTo(StringSE address)
      MessageBuilder.PropertiesBuilder.to(String) を参照してください。
      パラメーター:
      address - 住所・アドレス。
    • getSubject

      public StringSE getSubject()
      Properties.getSubject() を参照してください。
      戻り値:
      件名。
    • setSubject

      public void setSubject(StringSE subject)
      MessageBuilder.PropertiesBuilder.subject(String) を参照してください。
      パラメーター:
      subject - 件名。
    • getCreationTime

      public long getCreationTime()
      Properties.getCreationTime() を参照してください。
      戻り値:
      作成時間。
    • setCreationTime

      public void setCreationTime(long creationTime)
      MessageBuilder.PropertiesBuilder.creationTime(long) を参照してください。
      パラメーター:
      creationTime - 作成時間。
    • getGroupId

      public StringSE getGroupId()
      Properties.getGroupId() を参照してください。
      戻り値:
      グループ ID。
    • setGroupId

      public void setGroupId(StringSE groupId)
      MessageBuilder.PropertiesBuilder.groupId(String) を参照してください。
      パラメーター:
      groupId - グループ ID。
    • getGroupSequence

      public long getGroupSequence()
      Properties.getGroupSequence() を参照してください。
      戻り値:
      グループシーケンス。
    • setGroupSequence

      public void setGroupSequence(long groupSequence)
      MessageBuilder.PropertiesBuilder.groupSequence(long) を参照してください。
      パラメーター:
      groupSequence - グループシーケンス。
    • getReplyToGroupId

      public StringSE getReplyToGroupId()
      Properties.getReplyToGroupId() を参照してください。
      戻り値:
      グループ ID への返信。
    • setReplyToGroupId

      public void setReplyToGroupId(StringSE replyToGroupId)
      MessageBuilder.PropertiesBuilder.replyToGroupId(String) を参照してください。
      パラメーター:
      replyToGroupId - グループ ID への返信。
    • hashCode

      public int hashCode()
      オーバーライド:
      クラス MessagePropertieshashCode 
    • equals

      public boolean equals(ObjectSE obj)
      オーバーライド:
      クラス MessagePropertiesequals