PageRenderTime 20ms CodeModel.GetById 17ms app.highlight 2ms RepoModel.GetById 0ms app.codeStats 0ms

/src/main/java/com/rabbitmq/messagepatterns/unicast/Message.java

http://github.com/rabbitmq/rabbitmq-java-messagepatterns
Java | 33 lines | 22 code | 11 blank | 0 comment | 0 complexity | 6887e0b5f976a727f6088ee18d865044 MD5 | raw file
 1package com.rabbitmq.messagepatterns.unicast;
 2
 3import com.rabbitmq.client.BasicProperties;
 4import com.rabbitmq.client.AMQP;
 5
 6public interface Message {
 7    public AMQP.BasicProperties getProperties();
 8    public void setProperties(AMQP.BasicProperties properties);
 9
10    public byte[] getBody();
11    public void setBody(byte[] body);
12
13    public String getRoutingKey();
14    public void setRoutingKey(String routingKey);
15
16    public String getFrom();
17    public void setFrom(String from);
18
19    public String getTo();
20    public void setTo(String to);
21
22    public String getReplyTo();
23    public void setReplyTo(String replyTo);
24
25    public String getMessageId();
26    public void setMessageId(String messageId);
27
28    public String getCorrelationId();
29    public void setCorrelationId(String correlationId);
30
31    public Message createReply();
32}
33