unknown exchange type 'x-delay-message' RabbitMq v3.8.14 with MassTransit v7.1.8 - rabbitmq

I have this issue with another version of RabbitMQ and delayed-message-exchange plugin.
Environment:
1- RabbitMQ 3.8.14 -version
2- rabbitmq-delayed-message-exchange with two versions. first time with -v3.8.9 and next time with v3.8.17.
although the official note of delayed-message said: This release targets RabbitMQ 3.8.9 or later versions. and latest version(v3.8.17) targets RabbitMQ 3.8.16 and later versions.
3- MassTransit and MassTransit.RabbitMQ packages -version 7.1.8.
I got this exception: "unknown exchange type 'x-delayed-message'".
This environment with a little difference (RabbitMQ 3.8.13 -version) and the same version of MassTransit and 'rabbitmq-delayed-message-exchange' correct worked.
but I have to configure with RabbitMQ 3.8.14 -version!.

You can look at how MassTransit builds the provided Docker image to see how the plug-in is installed and configured with the base 3.8.14 RabbitMQ image. It's using the 3.8.9+ version of the plug-in. This image is used for all the MassTransit unit tests/integration tests.

Related

RabbitMQ management not visible after installation

I am trying to install Rabbitmq on local machine..
I have initially downloaded Erlang v23.1 and then rabbitmq for windows.
The RabbitMQ service is running but i can't see the management interface.
I ran the command
rabbitmq-plugins enable rabbitmq_management
I am getting below result
The tutorial which i follow say that it should be something like
.
I noted that i have missing some plugins. Can this be a reason why rabbitmq managment interface is not visible. If yes how can i install those..

MassTransit/Rabbit MQ Version Compatibility

Is a version of MassTransit tested and certified against specific versions of Rabbit MQ prior to its release? If so, is this information published?
On the CI server, MassTransit is tested using the 3.6 version(s). Locally, I test it with 3.7.x, and recently 3.8.x. So it's a variety, depending upon what's installed.
Any relatively recent version of RabbitMQ (3.6.x or later) should work fine.
Update: According to AppVeyor, they use v3.6.15-1

rabbitmq cli error getting messages

I am trying to consume the messages from the CLI application (rabbitmqadmin) using the following command:
$ rabbitmqadmin --host rabbitmq get queue=test requeue=false
*** [{key_missing,ackmode}]
I have seen in working before, but I cannot figure out what I am doing wrong at the moment.
I am using rabbitmq 3.7.2. Any hints?
Please try with ackmode=ack_requeue_false instead of requeue=false
https://github.com/rabbitmq/rabbitmq-management/issues/521#issuecomment-352178039
You need to make sure that the raabitmq-server version and the raabitmqadmin version must be same.
In case, you have upgraded your raabitmq from an earlier version to 3.7.2 then you need to replace the older rabbitmqadmin version with the current version (should be same as currently running raabitmq-server version)
For installation of raabitmqadmin correct version, you can refer https://www.rabbitmq.com/management.html
You can also directly download the binary rabbitmqadmin from the link https://raw.githubusercontent.com/rabbitmq/rabbitmq-management/v3.7.2/bin/rabbitmqadmin

Error while installing RabbitMQ Service on Windows

I want to install RabbitMQ Service as a Windows Service. I see an option to install RabbitMQ Service from installer (v3.6.5). However, it does not work.
I write a Batch script trying to re-install RabbitMQ service after running installer file.
set HOMEDRIVE=C:
set HOMEPATH=\Users\%username%
call "C:\Program Files\RabbitMQ Server\rabbitmq_server-3.6.5\sbin\rabbitmq-service.bat" remove
call "C:\Program Files\RabbitMQ Server\rabbitmq_server-3.6.5\sbin\rabbitmq-service.bat" install
call net start RabbitMQ
call "C:\Program Files\RabbitMQ Server\rabbitmq_server-3.6.5\sbin\rabbitmq-plugins.bat" enable rabbitmq_management
However, this script is quite unstable.
Sometimes it works, but sometimes it doesn't.
I tested in many PCs with Windows 10, Windows 8.1, Windows 7 and Windows Server 2012.
When error occurs, it always occurs in the last command (enabling RabbitMQ management)
C:\Program Files\erl9.0\erts-9.0\bin\erlsrv: Service RabbitMQ removed from system.
C:\Program Files\erl9.0\erts-9.0\bin\erlsrv: Service RabbitMQ added to system.
The RabbitMQ service is starting.
The RabbitMQ service was started successfully.
Plugin configuration unchanged.
Applying plugin configuration to rabbit#<myhost>... failed.
* Could not contact node rabbit#<myhost>.
Changes will take effect at broker restart.
* Options: --online - fail if broker cannot be contacted.
--offline - do not try to contact broker.
Sometimes, I got this error
...
Plugin configuration unchanged.
Applying plugin configuration to rabbit#<myhost>... failed.
Error: noproc
In my PC, I get the first error (could not contact node...) when %HOMEDRIVE%%HOMEPATH% is C:\users\myusername. When I change to C:\Windows, it works well. Then I change back to C:\users\, it also works well, no more error.
However, on a server with Windows Server 2012, even C:\Windows does not work (could not contact node...).
In all PCs, I see .erlang.cookie file in both C:\Windows and C:\Users[username]. (I don't know anything about erlang, just follow some instructions from other questions in StackOverFlow).
What is wrong with my script?
Is the error related to the version of RabbitMQ? I am not using the latest version.
Is it related to Erlang? I guess if Erlang caused this problem, then two commands about removing/installing RabbitMQ service would be failed.
Is it able to install the service without checking service option from installer, just run command rabbitmq-service.bat install?
The RabbitMQ team monitors this mailing list and only sometimes answers questions on stackoverflow.
You should be using the most recent version of the RabbitMQ installer for Windows, available here. I am assuming that <myhost> in your question is an edited-out hostname, not what is actually being used. You also don't mention which version of Erlang you have installed, but I assume it is a recent one.
You should uninstall RabbitMQ and ensure all traces are removed from C:\Users\myusername (be sure to check %APPDATA%) and C:\Windows. You should not have to change the default values of HOMEDRIVE and HOMEPATH prior to installation. Use an administrative account when running the Erlang and RabbitMQ .exe installers.
Please note that 3.6.12 has this issue on Windows. A workaround is to set vm_memory_calculation_strategy to erlang. I fixed this issue and it will be delivered in 3.6.13.
Thanks for using RabbitMQ!

Upgrade from ActiveMQ 5.4.2 to ActiveMQ 5.5.0 with non-empty KahaDB

Good Day!
We have problem with issue AMQ-2736(https://issues.apache.org/jira/browse/AMQ-2736) on remote sites and wants to upgrade to 5.5.0 version, wich resolved this problem. But network connection with remote sites not stable and we will have non-empty KahaDB at some of them. Does 5.5.0 vesrion works with database created by 5.4.2 version and we can simply upgrade software or we must empty all queues before upgrade?
I do not know this from first hand experience, but a colleague has successfully used ActiveMQ 5.5 against a KahaDB created from a previous version. If you really want to try it out, just take a file system copy of the entire dataDirectory from version 5.4.2, and point your 5.5 installation to that copy within your activemq.xml configuration.
I tried latest Fuse Message Broker maintenance release for ActiveMQ 5.4.2 - apache-activemq-5.4.2-fuse-02-00 - and it works good - all "trash" files are removed and we have not detected any message lost or corruption