public class RabbitmqMessageContext extends MessageContext
| 限定符和类型 | 字段和说明 |
|---|---|
(专用程序包) com.rabbitmq.client.Channel |
channel |
(专用程序包) String |
consumerTag |
(专用程序包) com.rabbitmq.client.Envelope |
envelope |
(专用程序包) com.rabbitmq.client.AMQP.BasicProperties |
properties |
| 构造器和说明 |
|---|
RabbitmqMessageContext(Jbootmq mq,
com.rabbitmq.client.Channel channel,
String consumerTag,
com.rabbitmq.client.Envelope envelope,
com.rabbitmq.client.AMQP.BasicProperties properties) |
| 限定符和类型 | 方法和说明 |
|---|---|
com.rabbitmq.client.Channel |
getChannel() |
String |
getConsumerTag() |
com.rabbitmq.client.Envelope |
getEnvelope() |
com.rabbitmq.client.AMQP.BasicProperties |
getProperties() |
getMqfinal com.rabbitmq.client.Channel channel
final String consumerTag
final com.rabbitmq.client.Envelope envelope
final com.rabbitmq.client.AMQP.BasicProperties properties
public RabbitmqMessageContext(Jbootmq mq, com.rabbitmq.client.Channel channel, String consumerTag, com.rabbitmq.client.Envelope envelope, com.rabbitmq.client.AMQP.BasicProperties properties)
public com.rabbitmq.client.Channel getChannel()
public String getConsumerTag()
public com.rabbitmq.client.Envelope getEnvelope()
public com.rabbitmq.client.AMQP.BasicProperties getProperties()
Copyright © 2024. All rights reserved.