Giter Club home page Giter Club logo

activemq-demo's Introduction

  • 当使用嵌入式的 ActiveMQ(即 Broker 与项目代码在同一个 JVM 中运行)时,可以设置 brokerUrl 为 vm://localhost,这样客户端和代理端之间可以直接通信而不需要占用网络通道。
  • 可以选择关闭 ActiveMQ 的消息持久化,这样就不需要用到 activemq-kahadb-store
  • 使用 Spring 根据 JMS 规范封装的 JmsTemplate 可以发送和接收消息。
  • 消息转换需要实现 MessageConverter 接口。
  • 如果想异步接收消息,则需要使用消息监听。除了 JMS 规范中的 MessageListener,还有 Spring 提供的 SessionAwareMessageListenerMessageListenerAdapter

activemq-demo's People

Contributors

dependabot[bot] avatar nekolr avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.