Giter Site home page Giter Site logo

springboot-activemq's Introduction

springboot-activemq

这是一个springboot项目与activemq简单整合的项目

步骤如下

第一步 安装一个activemq

第二步配置application.yml

修改activemq配置中相应的

  • ip
  • 端口
  • 用户名
  • 密码

第三步启动项目

第四步访问接口(默认端口号是1667) ip/activemq/send-message 有两个参数

  • messgae:要发送的信息
  • delayTime:延迟时间(时间为0或者负数的时候无延迟)

查看验证>

  • 访问接口成功以后,会返回一个json字符串,格式如下

返回格式

  • 同时控制台会输出如下

控制台输出

springboot-activemq's People

Contributors

chengtaiheng avatar

Stargazers

 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.