MqResponse.java
1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
package com.tianbo.util.RabitMq;
import com.rabbitmq.client.AMQP;
import com.rabbitmq.client.Envelope;
public class MqResponse {
private String consumerTag;
private Envelope envelope;
private AMQP.BasicProperties properties;
private String content;
public MqResponse(){
}
public MqResponse(String consumerTag, Envelope envelope, AMQP.BasicProperties properties, String content) {
this.consumerTag = consumerTag;
this.envelope = envelope;
this.properties = properties;
this.content = content;
}
public String getConsumerTag() {
return consumerTag;
}
public void setConsumerTag(String consumerTag) {
this.consumerTag = consumerTag;
}
public Envelope getEnvelope() {
return envelope;
}
public void setEnvelope(Envelope envelope) {
this.envelope = envelope;
}
public AMQP.BasicProperties getProperties() {
return properties;
}
public void setProperties(AMQP.BasicProperties properties) {
this.properties = properties;
}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
}