zrt-lab / zrt-service-rabbbitmq
Zend Framework 1 rabbitmq package
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Language:Ruby
Requires
- php: >=5.3.3
- bombayworks/zendframework1: 1.*
- videlalvaro/php-amqplib: 2.2.*
Requires (Dev)
- fabpot/php-cs-fixer: dev-master
- fzaninotto/faker: dev-master
- mockery/mockery: 0.9.1
- phpunit/dbunit: *
- phpunit/phpunit: 4.1.0
This package is auto-updated.
Last update: 2025-03-29 00:17:08 UTC
README
Why?
How to use
Add ”zrtlab/zend-service-rabbitmq”: “dev-develop”
to the require section of your composer.json, include the composer autoloader and you’re good to go.
una de las maneras en la que se puede generar la instancia del cliente de rabbitmq Es agregando los parametros de conexion en el application.ini:
zrt.services.rabbitmq.endpoint.host = 127.0.0.1 zrt.services.rabbitmq.endpoint.port = 5672 zrt.services.rabbitmq.endpoint.user = user zrt.services.rabbitmq.endpoint.pass = P@ssw0rd zrt.services.rabbitmq.endpoint.vhost = / zrt.services.rabbitmq.endpoint.publisher.aviso_solr.exchange = “name_exchange” zrt.services.rabbitmq.endpoint.publisher.aviso_solr.queue = “name_queue” zrt.services.rabbitmq.endpoint.publisher.aviso_solr.properties.user_id = “user” zrt.services.rabbitmq.endpoint.publisher.aviso_solr.properties.delivery_mode = 2 zrt.services.rabbitmq.endpoint.publisher.aviso_solr.properties.content_type = “text/plain”
Heredar el Boostrap de la siguiente clase Zrt_Application_Bootstrap_Bootstrap
<?php class Bootstrap extends Zrt_Application_Bootstrap_Bootstrap { ...