• 5 min,  RMQ

    RabbitMQ Shovels sends messages to other RabbitMQ Server despite certificates expired (google.com)

    RabbitMQ Shovels sends messages to other RabbitMQ Server despite certificates expired (google.com) (User )When add the amqp_client.ssl_options to the rabbitmq.conf, the service wont start at all.It might just be the syntax since i have not found an example.I attached the conf file.Thankslisteners.ssl.default = 5671ssl_options.cacertfile = C:/Certificates/converted/TestDevelopment_0000_Root.pemssl_options.certfile = C:/Certificates/converted/public-TestDevelopment_0000.pemssl_options.keyfile = C:/Certificates/converted/private-TestDevelopment_0000.pemssl_options.verify = verify_peerDo not require client certificatesssl_options.fail_if_no_peer_cert = trueamqp_client.ssl_options.cacertfile = c:/certificates/converted/testdevelopment_0000_root.pemamqp_client.ssl_options.certfile = c:/certificates/converted/public-testdevelopment_0000.pemamqp_client.ssl_options.keyfile = c:/certificates/converted/private-testdevelopment_0000.pemamqp_client.ssl_options.verify = verify_peeramqp_client.ssl_options.fail_if_no_peer_cert = true“dest-uri”: “amqps://ttadmin:teamt@MAFBSVQADB02:5671/Project-0000_TestDevelopment-Server”,“src-uri”: “amqp://ttadmin:teamt@MAFBSPQAFE01:5672/Project-0000_TestDevelopment-PM-1” (AMQP expert)Yes, you will have to enable server verification for your amqps URIs, like this – https://www.rabbitmq.com/uri-query-parameters.html#basics (AMQP expert)Hello,RabbitMQ probably logs why it won’t start. Did you check the log file?I meant for you to change your shovel URI strings instead,…

    Comments Off on RabbitMQ Shovels sends messages to other RabbitMQ Server despite certificates expired (google.com)
  • 5 min,  RMQ

    5 min RMQ HTTP API

    After installing RabbitMQ and enable rabbitmq management, you get access to the api RabbitMQ Management HTTP API RabbitMQ Management HTTP API If we look at the reference for queues We can run the query with bash in Git Bash on windows. and we see the test_queue If we just use the browser And the result is JSON, Raw Data and Headers Todo with powershell

    Comments Off on 5 min RMQ HTTP API
  • RMQ

    Rabbitmq bidirectional shovel (GET/PUT) from VM1. VM2 server using SSL (VM1 SSL, client)

    https://stackoverflow.com/questions/50045150/how-to-configure-rabbitmq-bidirectional-shovel-and-avoid-infinite-loop To simulate the scenario: VM1 setup:Deny inbound AMQP 5672 (NON-SSL) added to FWVM1 initiate connection over AMQP to VM1 (advanced.config file) (uses outbound 5672 to VM2) With two shovel in the advanced config VM2 setup:Allow inbound AMQP 5672 (NON-SSL) added to FWJust listener with empty advanced config Result:We can send data to VM2 from VM1 and the other way around on two different queue and that is sufficent.As long as we initiate the connection from VM1 where all the config is. FW open inbound 5672, (5671 if cert and SSL) to VM2 (reciever host) Add both the queue in management or programatically (i.e Python) Add a user mysuer, administrator…

    Comments Off on Rabbitmq bidirectional shovel (GET/PUT) from VM1. VM2 server using SSL (VM1 SSL, client)
  • linux,  Python,  RMQ

    RabbitMQ Pika Ubuntu

    AMQP 0-9-1 Model ExplainedOverview This guide provides an overview of the AMQP 0-9-1 protocol, one of the protocols supported by RabbitMQ.High-level Overview of AMQP 0-9-1 and the AMQP ModelWhat is AMQP 0-9-1? AMQP 0-9-1 (Advanced Message Queuing Protocol) is a messaging protocol that enables conforming client applications to communicate with conforming messaging middleware brokers. https://www.rabbitmq.com/tutorials/amqp-concepts.html Install ubtuntu https://www.rabbitmq.com/install-debian.html Erlang esl-erlang_22.0.7-1~ubuntu~xenial_amd64.deb espen@espen-UN65U:~/project$ sudo dpkg -i esl-erlang_22.0.7-1~ubuntu~xenial_amd64.deb Verify erlang, type erl Rabbitmq Add the Apt repository to your Apt source list directory (/etc/apt/sources.list.d): espen@espen-UN65U:~/project$ echo “deb https://dl.bintray.com/rabbitmq/debian xenial main” | sudo tee /etc/apt/sources.list.d/bintray.rabbitmq.list deb https://dl.bintray.com/rabbitmq/debian xenial main Next add our public key to your trusted key list using apt-key: espen@espen-UN65U:~/project$ wget -O-…

    Comments Off on RabbitMQ Pika Ubuntu
  • RMQ

    Python Pika (RMQ)

    A snippet on the RabbitMQ libray for Python Version used: RabbitMQ 3.7.14, Erlang 21.3, Python 3.7.2 https://pika.readthedocs.io/en/stable/ Send: Recieve: Recieve result:

    Comments Off on Python Pika (RMQ)