public class Message extends Object
| Modifier and Type | Field and Description |
|---|---|
byte[] |
body |
String |
exchangeName |
long |
expiryTime |
int |
id |
com.rabbitmq.client.AMQP.BasicProperties |
props |
boolean |
redelivered |
String |
routingKey |
| Constructor and Description |
|---|
Message(int id,
String exchangeName,
String routingKey,
com.rabbitmq.client.AMQP.BasicProperties props,
byte[] body,
long expiryTime) |
| Modifier and Type | Method and Description |
|---|---|
Message |
asRedelivered() |
boolean |
isExpired() |
int |
priority() |
String |
toString() |
public final int id
public final String exchangeName
public final String routingKey
public final com.rabbitmq.client.AMQP.BasicProperties props
public final byte[] body
public final long expiryTime
public final boolean redelivered
Copyright © 2022. All rights reserved.