<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Rpc on 极客老墨</title>
    <link>https://blog.hankmo.com/tags/rpc/</link>
    <description>Recent content in Rpc on 极客老墨</description>
    <generator>Hugo -- 0.138.0</generator>
    <language>zh-cn</language>
    <lastBuildDate>Wed, 28 Mar 2018 16:18:06 +0000</lastBuildDate>
    <atom:link href="https://blog.hankmo.com/tags/rpc/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>RabbitMQ基础（六）——实现RPC</title>
      <link>https://blog.hankmo.com/posts/tech/rabbitmq-rpc/</link>
      <pubDate>Wed, 28 Mar 2018 16:18:06 +0000</pubDate>
      <guid>https://blog.hankmo.com/posts/tech/rabbitmq-rpc/</guid>
      <description>本章简单介绍了如何使用RabbitMQ来实现RPC，关键是使用AMQP.BasicProperties定义的消息属性。1、AMQP0-9-1预定了14中消息属性，不过常用的只有几种，在java中通过AMQP.BasicProperties访问和设置；2、客户端通过消息属性的replyTo属性来设置回调队列，服务端获取并将响应消息发送到回调队列；3、客户端请求和响应的对应关系需要通过比对correlationId来实现。</description>
    </item>
  </channel>
</rss>
