31 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
1k
views
How to configure a PHP extension for multiple PHP versions?
Using ondrej repository on Ubuntu Focal, I have installed PHP from 5.6 to 7.4.
When I install an extension, for example php-amqp in my case with apt install php-amqp, the extension is only configured ...
0
votes
1
answer
189
views
How to consume from queues with custom names (defined on a fly) with RabbitMQ
I have tasks with an ids, and each task has some amount of jobs to do:
every job for each user;
for each task, number of users and jobs are different.
And I want to put all the jobs to one queue with ...
1
vote
0
answers
160
views
php-amqplib: How to prevent infinite loading web page?
I use a cloud service to handle RabbitMQ. The purpose is to send and receive messages from smart objects that use MQTT. All works but...
A formPage.php on submit triggers a shellexec command that ...
1
vote
1
answer
540
views
How to add php-amqp in CircleCI config.yml?
I tried to add in my config.yml following command:
docker-php-ext-install amqp
but CircleCI says:
error: /usr/src/php/ext/amqp does not exist
This is my full config.yml file:
# PHP CircleCI 2....
2
votes
1
answer
3k
views
RabbitMq Unacknowledged Messages after Consumer basic_cancel
Ok without going into great detail on the whole system I have setup,
The problem I have is when consumers cancels (AMQPChannel->basic_cancel) listening to a queue, it leaves one additional message ...
0
votes
1
answer
3k
views
rabbitmq and php - Process multiple queues with one worker (broker)
I have 1000 queues with specific names. so I want to process these queues with one broker. is it possible?
the queue names is stored in mysql db so I should fetch theme and run the broker for each ...
0
votes
1
answer
862
views
undefined symbol: amqp_ssl_socket_set_verify_peer in Unknown on line 0
Just updated PHP to 5.6.30 and every PHP request produces a WARNING
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/amqp.so' - /usr/lib64/php/modules/amqp.so: ...
1
vote
0
answers
212
views
Using wso2mb message broker server with a php client
I trying to connect a php client (using php-amqplib lib) to a server based on wso2mb (wso2 message broker version 3.1.0).
I couldnt succed in that when using the amqp_consumer.php and always locked ...
0
votes
1
answer
980
views
LaravelQueueRabbitMQ plugin timing out on StreamIO.php
I'm having trouble setting up the LaravelQueueRabbitMQ plugin on a Laravel 5.1 project. Here's the repository for the plugin:
https://github.com/vladimir-yuldashev/laravel-queue-rabbitmq/tree/v5.1
I ...
5
votes
3
answers
13k
views
Is it possible to get unrouted messages in amqp?
Using the RabbitMQ web UI, When I publish to a topic exchange with no current queue bindings, rabbitmq is saying that the message has been published but not routed.
Using amqp.node, when I bind a ...
1
vote
0
answers
1k
views
Rabbit amqp connection takes too long time
I've got very strange thing. Connection to my rabbit server takes 0.6 - 3 seconds ...
AMQPConnection::connect() works really long time. At my dev and stage machines everything is ok, but on ...
6
votes
0
answers
964
views
RabbitMQ PHP (pecl php-amqp) reading takes more then 1.5 second (during a small benchmark)
We have a test running with RabbitMQ, but somehow hit a "threshold" which makes RabbitMQ slow.
What we did, we setup a RabbitMQ server and made a small PHP script that uses pecl-amqp to connect (no ...
2
votes
1
answer
1k
views
Which ActiveMQ transport i should choose?
We use ActiveMQ, php and stomp. And we found that when ActiveMQ rebooted consumers working over stomp can't recognize that connection lost. I found, that only stomp 1.2 support heartbeat. And ActiveMQ ...
2
votes
1
answer
840
views
How do I accomplish a blocking basic_get call with videlalvaro/php-amqplib
I'm using https://github.com/videlalvaro/php-amqplib to do some rabbitmq work:
I'm trying to create a blocking version of basic_get, (or a version of basic_consume that I can call repeatedly and only ...
0
votes
0
answers
960
views
PHP AMQP (not phpamqplib) error when using thread
I am trying to make a simple AMQP client into multithread. The following code work if the I don't extend Publish with Thread:
<?php
include ('../JS-amqp-include.php');
$mypid = getmypid();
echo ...