Answer the question
In order to leave comments, you need to log in
How to use proxy to send to telegram using RabbitMQ?
The project is based on symfony 3, there is sending notifications to telegrams using RabbitMQ, after blocking telegram stopped working. I think you need to use a proxy, but I don't know how.
This is what the RabbitMQ configuration looks like:
old_sound_rabbit_mq:
connections:
default:
host: %rabbit_mq_host%
port: %rabbit_mq_port%
user: %rabbit_mq_user%
password: %rabbit_mq_pswd%
vhost: /
lazy: true
producers:
notification_create:
connection: default
exchange_options: { name: 'notification_create', type: direct }
queue_options: {name: 'notification_create'}
consumers:
notification_create:
connection: default
exchange_options: { name: 'notification_create', type: direct }
queue_options: { name: 'notification_create' }
callback: notification_consumer
Answer the question
In order to leave comments, you need to log in
RabbitMQ is a message server between "your pieces of code". With the help of some code, you send data there in some structure. "Some piece of code" you listen to RabbitMQ, get this data. That's where you get it - there and see what kind of software is there that sends messages to telegrams. There you can see how to set up a proxy, and whether it needs to be sent every time in the data for the RabbitMQ queue.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question