AmqpMessageProperties Class

  • java.lang.Object
    • com.azure.core.amqp.models.AmqpMessageProperties

public class AmqpMessageProperties

The representation of message properties as defined by AMQP protocol.

Method Summary

Modifier and Type Method and Description
OffsetDateTime getAbsoluteExpiryTime()

Gets absoluteExpiryTime from amqp message properties.

String getContentEncoding()

Gets AbsoluteExpiryTime from amqp message properties.

String getContentType()

Gets contentType from amqp message properties.

AmqpMessageId getCorrelationId()

Gets correlationId from amqp message properties.

OffsetDateTime getCreationTime()

Gets creationTime from amqp message properties.

String getGroupId()

Gets groupId from amqp message properties.

Long getGroupSequence()

Gets groupSequence from amqp message properties.

AmqpMessageId getMessageId()

Gets messageId from amqp message properties.

AmqpAddress getReplyTo()

Gets replyTo from amqp message properties.

String getReplyToGroupId()

Gets replyToGroupId from amqp message properties.

String getSubject()

Gets subject from amqp message properties.

AmqpAddress getTo()

Gets to from amqp message properties.

byte[] getUserId()

Gets userId from amqp message properties.

AmqpMessageProperties setAbsoluteExpiryTime(OffsetDateTime absoluteExpiryTime)

Sets the given absoluteExpiryTime value on AmqpMessageProperties object.

AmqpMessageProperties setContentEncoding(String contentEncoding)

Sets the given contentEncoding value on AmqpMessageProperties object.

AmqpMessageProperties setContentType(String contentType)

Sets the given contentType value on AmqpMessageProperties object.

AmqpMessageProperties setCorrelationId(AmqpMessageId correlationId)

Sets the given correlationId value on AmqpMessageProperties object.

AmqpMessageProperties setCreationTime(OffsetDateTime creationTime)

Sets the given creationTime value on AmqpMessageProperties object.

AmqpMessageProperties setGroupId(String groupId)

Sets the given groupId value on AmqpMessageProperties object.

AmqpMessageProperties setGroupSequence(Long groupSequence)

Sets the given groupSequence value on AmqpMessageProperties object.

AmqpMessageProperties setMessageId(AmqpMessageId messageId)

Sets the given messageId value on AmqpMessageProperties object.

AmqpMessageProperties setReplyTo(AmqpAddress replyTo)

Sets the given replyTo value on AmqpMessageProperties object.

AmqpMessageProperties setReplyToGroupId(String replyToGroupId)

Sets the given replyToGroupId value on AmqpMessageProperties object.

AmqpMessageProperties setSubject(String subject)

Sets the given subject value on AmqpMessageProperties object.

AmqpMessageProperties setTo(AmqpAddress to)

Sets the given to value on AmqpMessageProperties object.

AmqpMessageProperties setUserId(byte[] userId)

Sets the given userId value on AmqpMessageProperties object.

Methods inherited from java.lang.Object

Method Details

getAbsoluteExpiryTime

public OffsetDateTime getAbsoluteExpiryTime()

Gets absoluteExpiryTime from amqp message properties.

Returns:

the absoluteExpiryTime value.

getContentEncoding

public String getContentEncoding()

Gets AbsoluteExpiryTime from amqp message properties.

Returns:

the absoluteExpiryTime value.

getContentType

public String getContentType()

Gets contentType from amqp message properties.

Returns:

the contentType value.

getCorrelationId

public AmqpMessageId getCorrelationId()

Gets correlationId from amqp message properties.

Returns:

the correlationId value.

getCreationTime

public OffsetDateTime getCreationTime()

Gets creationTime from amqp message properties.

Returns:

the creationTime value.

getGroupId

public String getGroupId()

Gets groupId from amqp message properties.

Returns:

the groupId value.

getGroupSequence

public Long getGroupSequence()

Gets groupSequence from amqp message properties.

Returns:

the groupSequence value.

getMessageId

public AmqpMessageId getMessageId()

Gets messageId from amqp message properties.

Returns:

the messageId value.

getReplyTo

public AmqpAddress getReplyTo()

Gets replyTo from amqp message properties.

Returns:

The replyTo value.

getReplyToGroupId

public String getReplyToGroupId()

Gets replyToGroupId from amqp message properties.

Returns:

The replyToGroupId value.

getSubject

public String getSubject()

Gets subject from amqp message properties.

Returns:

the subject value.

getTo

public AmqpAddress getTo()

Gets to from amqp message properties.

Returns:

the to value.

getUserId

public byte[] getUserId()

Gets userId from amqp message properties.

Returns:

the userId value.

setAbsoluteExpiryTime

public AmqpMessageProperties setAbsoluteExpiryTime(OffsetDateTime absoluteExpiryTime)

Sets the given absoluteExpiryTime value on AmqpMessageProperties object.

Parameters:

absoluteExpiryTime - to be set.

Returns:

updated AmqpMessageProperties object.

setContentEncoding

public AmqpMessageProperties setContentEncoding(String contentEncoding)

Sets the given contentEncoding value on AmqpMessageProperties object.

Parameters:

contentEncoding - to be set.

Returns:

updated AmqpMessageProperties object.

setContentType

public AmqpMessageProperties setContentType(String contentType)

Sets the given contentType value on AmqpMessageProperties object.

Parameters:

contentType - to be set.

Returns:

updated AmqpMessageProperties object.

setCorrelationId

public AmqpMessageProperties setCorrelationId(AmqpMessageId correlationId)

Sets the given correlationId value on AmqpMessageProperties object.

Parameters:

correlationId - to be set.

Returns:

updated AmqpMessageProperties object.

setCreationTime

public AmqpMessageProperties setCreationTime(OffsetDateTime creationTime)

Sets the given creationTime value on AmqpMessageProperties object.

Parameters:

creationTime - to be set.

Returns:

updated AmqpMessageProperties object.

setGroupId

public AmqpMessageProperties setGroupId(String groupId)

Sets the given groupId value on AmqpMessageProperties object.

Parameters:

groupId - to be set.

Returns:

updated AmqpMessageProperties object.

setGroupSequence

public AmqpMessageProperties setGroupSequence(Long groupSequence)

Sets the given groupSequence value on AmqpMessageProperties object.

Parameters:

groupSequence - to be set.

Returns:

updated AmqpMessageProperties object.

setMessageId

public AmqpMessageProperties setMessageId(AmqpMessageId messageId)

Sets the given messageId value on AmqpMessageProperties object.

Parameters:

messageId - to be set .

Returns:

updated AmqpMessageProperties object.

setReplyTo

public AmqpMessageProperties setReplyTo(AmqpAddress replyTo)

Sets the given replyTo value on AmqpMessageProperties object.

Parameters:

replyTo - to be set.

Returns:

updated AmqpMessageProperties object.

setReplyToGroupId

public AmqpMessageProperties setReplyToGroupId(String replyToGroupId)

Sets the given replyToGroupId value on AmqpMessageProperties object.

Parameters:

replyToGroupId - to be set.

Returns:

updated AmqpMessageProperties object.

setSubject

public AmqpMessageProperties setSubject(String subject)

Sets the given subject value on AmqpMessageProperties object.

Parameters:

subject - to be set.

Returns:

updated AmqpMessageProperties object.

setTo

public AmqpMessageProperties setTo(AmqpAddress to)

Sets the given to value on AmqpMessageProperties object.

Parameters:

to - to be set.

Returns:

updated AmqpMessageProperties object.

setUserId

public AmqpMessageProperties setUserId(byte[] userId)

Sets the given userId value on AmqpMessageProperties object.

Parameters:

userId - to be set .

Returns:

updated AmqpMessageProperties object.

Applies to