示例#1
0
文件: Qarrot.java 项目: viphe/qarrot
 public void send(RouteSpec routeSpec, AMQP.BasicProperties properties, Object payload)
     throws IOException {
   send(
       routeSpec,
       "",
       properties,
       getBytes(
           MediaTypes.withCharset(properties.getContentType(), properties.getContentEncoding()),
           payload));
 }