public final class MessagePropertiesBuilder extends MessageBuilderSupport<MessageProperties>
Modifier and Type | Method and Description |
---|---|
MessageProperties |
build() |
MessagePropertiesBuilder |
copyProperties(MessageProperties properties) |
static MessagePropertiesBuilder |
fromClonedProperties(MessageProperties properties)
Performs a shallow copy of the properties for the initial value.
|
static MessagePropertiesBuilder |
fromProperties(MessageProperties properties)
Initializes the builder with the supplied properties; the same
object will be returned by
build() . |
static MessagePropertiesBuilder |
newInstance()
Returns a builder with an initial set of properties.
|
buildProperties, copyHeaders, copyHeadersIfAbsent, removeHeader, removeHeaders, setAppId, setAppIdIfAbsent, setClusterId, setClusterIdIfAbsent, setContentEncoding, setContentEncodingIfAbsent, setContentLength, setContentLengthIfAbsent, setContentType, setContentTypeIfAbsentOrDefault, setCorrelationId, setCorrelationIdIfAbsent, setDeliveryMode, setDeliveryModeIfAbsentOrDefault, setDeliveryTag, setDeliveryTagIfAbsent, setExpiration, setExpirationIfAbsent, setHeader, setHeaderIfAbsent, setMessageCount, setMessageCountIfAbsent, setMessageId, setMessageIdIfAbsent, setPriority, setPriorityIfAbsentOrDefault, setProperties, setReceivedExchange, setReceivedExchangeIfAbsent, setReceivedRoutingKey, setReceivedRoutingKeyIfAbsent, setRedelivered, setRedeliveredIfAbsent, setReplyTo, setReplyToAddress, setReplyToAddressIfAbsent, setReplyToIfAbsent, setTimestamp, setTimestampIfAbsent, setType, setTypeIfAbsent, setUserId, setUserIdIfAbsent
public static MessagePropertiesBuilder newInstance()
public static MessagePropertiesBuilder fromProperties(MessageProperties properties)
build()
.properties
- The properties.public static MessagePropertiesBuilder fromClonedProperties(MessageProperties properties)
properties
- The properties.public MessagePropertiesBuilder copyProperties(MessageProperties properties)
copyProperties
in class MessageBuilderSupport<MessageProperties>
public MessageProperties build()
build
in class MessageBuilderSupport<MessageProperties>