Interface MessageBuilder.PropertiesBuilder
- Enclosing interface:
MessageBuilder
public static interface MessageBuilder.PropertiesBuilder
API to set message properties.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionabsoluteExpiryTime(long absoluteExpiryTime) Set the expiry time.contentEncoding(String contentEncoding) Set the content encoding.contentType(String contentType) Set the content type.correlationId(byte[] correlationId) Set the correlation ID as an array of bytes.correlationId(long correlationId) Set the correlation ID as a long.correlationId(String correlationId) Set the correlation ID as a string.correlationId(UUID correlationId) Set the correlation ID as an UUID.creationTime(long creationTime) Set the creation time.Set the group ID.groupSequence(long groupSequence) Set the group sequence.Go back to the message builder.messageId(byte[] id) Set the message ID as an array of bytes.messageId(long id) Set the message ID as long.Set the message ID as a string.Set the message ID as an UUID.Set the reply to address.replyToGroupId(String replyToGroupId) Set the reply-to group ID.Set the subject.Set the to address.userId(byte[] userId) Set the user ID.
-
Method Details
-
messageId
Set the message ID as a string.- Parameters:
id-- Returns:
- this properties builder
-
messageId
Set the message ID as long.- Parameters:
id-- Returns:
- this properties builder
-
messageId
Set the message ID as an array of bytes.- Parameters:
id-- Returns:
- this properties builder
-
messageId
Set the message ID as an UUID.- Parameters:
id-- Returns:
- this properties builder
-
userId
Set the user ID.- Parameters:
userId-- Returns:
- this properties builder
-
to
Set the to address.- Parameters:
address-- Returns:
- this properties builder
-
subject
Set the subject.- Parameters:
subject-- Returns:
- this properties builder
-
replyTo
Set the reply to address.- Parameters:
replyTo-- Returns:
- this properties builder
-
correlationId
Set the correlation ID as a string.- Parameters:
correlationId-- Returns:
- this properties builder
-
correlationId
Set the correlation ID as a long.- Parameters:
correlationId-- Returns:
- this properties builder
-
correlationId
Set the correlation ID as an array of bytes.- Parameters:
correlationId-- Returns:
- this properties builder
-
correlationId
Set the correlation ID as an UUID.- Parameters:
correlationId-- Returns:
- this properties builder
-
contentType
Set the content type.- Parameters:
contentType-- Returns:
- this properties builder
-
contentEncoding
Set the content encoding.- Parameters:
contentEncoding-- Returns:
- this properties builder
-
absoluteExpiryTime
Set the expiry time.- Parameters:
absoluteExpiryTime-- Returns:
- this properties builder
-
creationTime
Set the creation time.- Parameters:
creationTime-- Returns:
- this properties builder
-
groupId
Set the group ID.- Parameters:
groupId-- Returns:
- this properties builder
-
groupSequence
Set the group sequence.- Parameters:
groupSequence-- Returns:
- this properties builder
-
replyToGroupId
Set the reply-to group ID.- Parameters:
replyToGroupId-- Returns:
- this properties builder
-
messageBuilder
-