Let’s initiate a discussion!!
Install the RabbitMQ on Ubuntu by using below command.
1 |
sudo apt install -y rabbitmq-server |
Install Magento with RabbitMQ. And connect to Magento Open Source or Magento Commerce.
1 |
--amqp-host="<hostname>" --amqp-port="5672" --amqp-user="<user_name>" --amqp-password="<password>" --amqp-virtualhost="/" |
Connect RabbitMQ
If you already had Magento installed and you want to connect it to RabbitMQ, add a queue section in the <install_directory>/app/etc/env.php file
1 2 3 4 5 6 7 8 9 10 11 |
'queue' => array ( 'amqp' => array ( 'host' => 'localhost', 'port' => '5672', 'user' => 'example', 'password' => 'example', 'virtualhost' => '/' ), ), |
Then, run bin/magento setup:upgrade to apply the changes & create the required queues in RabbitMQ.
To enable RabbitMQ:
Add the required name, type, and disk value (in MB) to the .magento/services.yaml file along with the installed RabbitMQ version.
1 2 3 |
rabbitmq: type: rabbitmq:<version> disk: 1024 |
Configure the relationships in the .magento.app.yaml file.
1 2 |
relationships: rabbitmq: "rabbitmq:rabbitmq" |
Add, commit, and push your code changes.
1 2 3 |
git add -A git commit -m "Enable RabbitMQ service" git push origin <branch-name> |
Verify the service relationships.
Retrieve the RabbitMQ connection details :
1 |
php -r 'print_r(json_decode(base64_decode($_ENV["MAGENTO_CLOUD_RELATIONSHIPS"])));' |
[crayon-641ef89f0405b371468018/] Using above fucntion Images can be imported directly from...
Override view block using di.xml and add the below code...
You can check a list of called layout XML for...
Follow the below steps to install and set up PWA...
If you want to remove all leading zero's from order,...
Let our Magento expert connect to discuss your requirement.
We offer Magento
certified developers.
Our Magento clientele
is 500+.
We sign NDA for the
security of your projects.
We’ve performed 100+
Magento migration projects.
Free quotation
on your project.
Three months warranty on
code developed by us.