承接 kaliop/queueingbundle-stomp 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

kaliop/queueingbundle-stomp

Composer 安装命令:

composer require kaliop/queueingbundle-stomp

包简介

Kaliop Queueing Bundle - Stomp plugin

README 文档

README

Adds support for the STOMP protocol to the Kaliop Queueing Bundle

STOMP is a protocol used by multiple messaging brokers, such as ActiveMQ, Apache Apollo and RabbitMQ (but we suggest you use AMQP to communicate with RabbitMQ, which is supported natively by the Queueing Bundle)

Currently the bundle is tested using Apache Apollo and Apache ActiveMQ.

See: https://stomp.github.io and https://github.com/kaliop-uk/kueueingbundle respectively for more details.

Installation

  1. Install the bundle via Composer.

  2. Enable the KaliopQueueingPluginsStompBundle bundle in your kernel class registerBundles().

  3. Clear all caches if not on a dev environment

Usage

  1. Start the messaging broker of your choice

  2. Create a queue, using the appropriate management console:

    • Apollo: : no need, queues and topics are created based on need

    • ActiveMQ: no need, queues and topics are created based on need

    • RabbitMQ:

  3. Set up configuration according to your broker

    • copy queueingbundle_stomp_sample.yml in this bundle to your app/config folder, make sure you require it, and edit it
  4. check that you can list the queue:

     php app/console kaliop_queueing:managequeue list-configured -istomp
    

    not yet supported: ask the broker for queue info

     php app/console kaliop_queueing:managequeue info -istomp <queue>
    
  5. push a message to the queue

     php app/console kaliop_queueing:queuemessage -istomp <queue> <jsonpayload>
    
  6. receive messages from the queue

     php app/console kaliop_queueing:consumer -istomp <queue>
    

Notes

  • Stomp does not natively support routing-keys the way that RabbitMQ does. Also, the implementation of Topic and Queue messaging patterns is left to the single brokers.

    This bundle does add back support for routing-keys. It also strives to replicate the same messaging pattern regardless of the broker in use. The way to achieve that differs with each broker.

    In particular:

    • for Apollo, topics with persistent subscriptions are used
    • for ActiveMQ, 'Virtual Topics' are used ( http://activemq.apache.org/virtual-destinations.html )
    • NB: ActiveMQ 5.5 seems to have a bug with wildcard support when using '#' as key. If this is a problem for you, please upgrade to a later version

    In the bundle configuration, the same wildcard characters are to be used regardless of teh broker in use: # and *

License Latest Stable Version Total Downloads

Build Status Scrutinizer Code Quality SensioLabsInsight

kaliop/queueingbundle-stomp 适用场景与选型建议

kaliop/queueingbundle-stomp 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 5 次下载、GitHub Stars 达 0, 最近一次更新时间为 2015 年 09 月 22 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 kaliop/queueingbundle-stomp 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 kaliop/queueingbundle-stomp 我们能提供哪些服务?
定制开发 / 二次开发

基于 kaliop/queueingbundle-stomp 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 5
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 13
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 3
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2015-09-22