<?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>Springamqp on 极客老墨</title>
    <link>https://blog.hankmo.com/tags/springamqp/</link>
    <description>Recent content in Springamqp on 极客老墨</description>
    <generator>Hugo -- 0.138.0</generator>
    <language>zh-cn</language>
    <lastBuildDate>Mon, 17 Jun 2019 17:35:15 +0000</lastBuildDate>
    <atom:link href="https://blog.hankmo.com/tags/springamqp/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Spring AMQP消息转换</title>
      <link>https://blog.hankmo.com/posts/tech/spring-amqp-message-convert/</link>
      <pubDate>Mon, 17 Jun 2019 17:35:15 +0000</pubDate>
      <guid>https://blog.hankmo.com/posts/tech/spring-amqp-message-convert/</guid>
      <description>们介绍了如果使用Spring AMQP注解来实现消息发送和监听，示例都是使用的默认的消息转换器，即SimpleMessageConverter，它只能处理byte[]、String、java序列化对象(实现了Serializable接口的对象)。通常，不推荐使用Java序列化，因为它存在与Java对象强耦合、依赖java语言等缺点，Spring AMQP也提供了其他的消息转换方式，在本篇，我们将重点来看看如果将消息序列化为JSON格式。</description>
    </item>
    <item>
      <title>Spring AMQP注解的使用</title>
      <link>https://blog.hankmo.com/posts/tech/spring-amqp-guide-by-annotation/</link>
      <pubDate>Thu, 13 Jun 2019 17:15:31 +0000</pubDate>
      <guid>https://blog.hankmo.com/posts/tech/spring-amqp-guide-by-annotation/</guid>
      <description>上一篇 Spring AMQP简介和使用，我们介绍了Spring AMQP的一些基本要素和概念，也通过一些示例代码介绍了消息的发送和接收，但是都是使用的原始编码方式来实现，并不依赖Spring环境。其实，Spring AMQP也支持使用注解的方式来进行异步接收消息，极大的简化了编码。要使用注解，首先需要在Spring应用环境中。</description>
    </item>
    <item>
      <title>Spring AMQP简介和使用</title>
      <link>https://blog.hankmo.com/posts/tech/spring-amqp-intro/</link>
      <pubDate>Wed, 05 Jun 2019 09:42:47 +0000</pubDate>
      <guid>https://blog.hankmo.com/posts/tech/spring-amqp-intro/</guid>
      <description>Spring AMQP 是 Spring 对 AMQP 协议的封装和扩展，提供了消息发送和接收的模板。Spring AMQP由spring-amqp和spring-rabbit两个模块组成。spring-amqp模块位于org.springframework.amqp.core包，它的目标是提供不依赖于任何特定AMQP代理实现或客户端库的通用抽象；而spring-rabbit是spring-amqp通用抽象的具体实现，目前仅提供了rabbitmq的实现。</description>
    </item>
  </channel>
</rss>
