public interface AmqpMessageBuilder
AmqpMessage
.
Reference about the different metadata can be found on AMQP message properties.
Note that the body is set using withBodyAs*
method depending on the passed type.
static AmqpMessageBuilder create()
AmqpMessageBuilder
AmqpMessage build()
AmqpMessageBuilder priority(short priority)
AmqpMessageBuilder durable(boolean durable)
AmqpMessageBuilder ttl(long ttl)
AmqpMessageBuilder firstAcquirer(boolean first)
AmqpMessageBuilder deliveryCount(int count)
AmqpMessageBuilder id(String id)
AmqpMessageBuilder address(String address)
AmqpMessageBuilder replyTo(String replyTo)
AmqpMessageBuilder correlationId(String correlationId)
AmqpMessageBuilder withBody(String value)
AmqpMessageBuilder withSymbolAsBody(String value)
AmqpMessageBuilder subject(String subject)
AmqpMessageBuilder contentType(String ct)
AmqpMessageBuilder contentEncoding(String ct)
AmqpMessageBuilder expiryTime(long expiry)
AmqpMessageBuilder creationTime(long ct)
AmqpMessageBuilder groupId(String gi)
AmqpMessageBuilder replyToGroupId(String rt)
AmqpMessageBuilder applicationProperties(JsonObject props)
AmqpMessageBuilder withBooleanAsBody(boolean v)
AmqpMessageBuilder withByteAsBody(byte v)
AmqpMessageBuilder withShortAsBody(short v)
AmqpMessageBuilder withIntegerAsBody(int v)
AmqpMessageBuilder withLongAsBody(long v)
AmqpMessageBuilder withFloatAsBody(float v)
AmqpMessageBuilder withDoubleAsBody(double v)
AmqpMessageBuilder withCharAsBody(char c)
AmqpMessageBuilder withInstantAsBody(java.time.Instant v)
AmqpMessageBuilder withUuidAsBody(UUID v)
AmqpMessageBuilder withListAsBody(List list)
AmqpMessageBuilder withMapAsBody(Map map)
AmqpMessageBuilder withBufferAsBody(Buffer buffer)
AmqpMessageBuilder withJsonObjectAsBody(JsonObject json)
AmqpMessageBuilder withJsonArrayAsBody(JsonArray json)
Copyright © 2022 Eclipse. All rights reserved.