
org.reactivecommons.async.commons.communications.Message Maven / Gradle / Ivy
package org.reactivecommons.async.commons.communications;
import java.util.Map;
/**
* Simple Internal Message representation
*
* @author Daniel Bustamante Ospina
*/
public interface Message {
byte[] getBody();
Properties getProperties();
interface Properties {
String getContentType();
default String getContentEncoding() {
return null;
}
long getContentLength();
Map getHeaders();
default String getKey() {
return null;
}
default String getTopic() {
return null;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy