public class Envelope extends Object
| Constructor and Description |
|---|
Envelope(long deliveryTag,
boolean redeliver,
String exchange,
String routingKey)
Construct an
Envelope with the specified construction parameters |
| Modifier and Type | Method and Description |
|---|---|
long |
getDeliveryTag()
Get the delivery tag included in this parameter envelope
|
String |
getExchange()
Get the name of the exchange included in this parameter envelope
|
String |
getRoutingKey()
Get the routing key included in this parameter envelope
|
boolean |
isRedeliver()
Get the redelivery flag included in this parameter envelope.
|
String |
toString() |
public Envelope(long deliveryTag,
boolean redeliver,
String exchange,
String routingKey)
Envelope with the specified construction parametersdeliveryTag - the delivery tagredeliver - true if this is a redelivery following a failed ackexchange - the exchange used for the current operationroutingKey - the associated routing keypublic long getDeliveryTag()
public boolean isRedeliver()
public String getExchange()
public String getRoutingKey()
Copyright © 2021 VMware, Inc. or its affiliates.. All rights reserved.