Rabbit MQ (5.1.2) Integration error with WCF

70 views
Skip to first unread message

marwan zoubi

unread,
Mar 21, 2020, 7:31:22 AM3/21/20
to rabbitmq-users

Dears,

 

I tried to integrate my rabbit MQ (latest version 5.1.2) with WCF Service, and i got the below error:

Error: Field not found: 'RabbitMQ.Client.ConnectionFactory.Protocol'.


I tried to do a quick search on google, most of articles are saying that you must downgrade the the nuget package of RabbitMQ.Client to 3.xxx.

Which means that the latest version of Rabbit MQ is not compatible with WCF, right ?


Please note that if i use an old version of Rabbit MQ like 3.xxx it will work fine.

 

Regards,

Wesley Peng

unread,
Mar 21, 2020, 7:37:46 AM3/21/20
to marwan zoubi, rabbitmq-users
The latest RMQ version is 3.8.3, how did you get a  5.x version?


21 березня 2020 р., 19:31:30,від "marwan zoubi" <marwanz...@gmail.com>:

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/d479d96a-f868-43b7-a119-f3994b702c9f%40googlegroups.com.

marwan zoubi

unread,
Mar 21, 2020, 9:41:31 AM3/21/20
to rabbitmq-users
https://www.rabbitmq.com/dotnet.html

Please check the above link.




On Saturday, March 21, 2020 at 1:37:46 PM UTC+2, Wesley Peng wrote:
The latest RMQ version is 3.8.3, how did you get a  5.x version?


21 березня 2020 р., 19:31:30,від "marwan zoubi" <marwanz...@gmail.com>:

Dears,

 

I tried to integrate my rabbit MQ (latest version 5.1.2) with WCF Service, and i got the below error:

Error: Field not found: 'RabbitMQ.Client.ConnectionFactory.Protocol'.


I tried to do a quick search on google, most of articles are saying that you must downgrade the the nuget package of RabbitMQ.Client to 3.xxx.

Which means that the latest version of Rabbit MQ is not compatible with WCF, right ?


Please note that if i use an old version of Rabbit MQ like 3.xxx it will work fine.

 

Regards,

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitm...@googlegroups.com.

Luke Bakken

unread,
Mar 21, 2020, 11:39:33 AM3/21/20
to rabbitmq-users
Hello,

Provide this information:

* RabbitMQ.Client version

* A project that can be compiled and run to see this error. Ideally, I should be able to clone a GitHub repository, open a Visual Studio solution, and compile. We are happy to provide free support but we can't spend time putting together code to try and guess at what you're trying to do. Thanks.

* RabbitMQ and Erlang version (not critical, but important to know)

Thanks,
Luke
Message has been deleted
Message has been deleted

marwan zoubi

unread,
Mar 22, 2020, 8:45:01 AM3/22/20
to rabbitmq-users
Dear,

below is the information of the packages version:
..\packages\RabbitMQ.Client.5.1.2\lib\net451\RabbitMQ.Client.dll
..\packages\RabbitMQ.ServiceModel.3.6.9\lib\net45\RabbitMQ.ServiceModel.dll


Please check the attached project also which contains the issue exactly.

Regards,
Message has been deleted
Message has been deleted

marwan zoubi

unread,
Mar 22, 2020, 8:48:56 AM3/22/20
to rabbitmq-users
Dear,

below is the information of the packages version:
..\packages\RabbitMQ.Client.5.1.2\lib\net451\RabbitMQ.Client.dll
..\packages\RabbitMQ.ServiceModel.3.6.9\lib\net45\RabbitMQ.ServiceModel.dll


Please check the attached project also which contains the issue exactly, check the below link please:



Regards,

Luke Bakken

unread,
Mar 22, 2020, 5:45:10 PM3/22/20
to rabbitmq-users
Hi Marwan,

The ServiceModel project has been removed for some time now. There wasn't enough interest to keep it in the project:


We would be happy to review a pull request that re-adds it with support for WCF.

Otherwise, use the older version of RabbitMQ.Client but be aware it is not supported.

Thanks,
Luke

marwan zoubi

unread,
Mar 26, 2020, 10:24:24 AM3/26/20
to rabbitmq-users
Dear Luke,

kindly, check the below link which contains the RabbitMQ with Service Model (That support WCF request):


i tried it with my solution that i shared it with you before and it is working fine.
Please check and confirm.

Regards,

marwan zoubi

unread,
Mar 31, 2020, 9:17:34 AM3/31/20
to rabbitmq-users
Dear Luke,

kindly, Any Updates on the below ?
did u checked the solution or not yet ?

Regards,

Luke Bakken

unread,
Mar 31, 2020, 10:00:17 AM3/31/20
to rabbitmq-users
Hi Marwan,

Please be patient. We try to answer questions within a week of them being asked.

I'm in the middle of finishing the 5.2.0 and 6.0.0 releases of the RabbitMQ .NET client library and don't have time to look at this.

If you require urgent assistance, paid support resources are available - https://www.rabbitmq.com/#support

Thanks,
Luke

marwan zoubi

unread,
Apr 7, 2020, 8:04:57 AM4/7/20
to rabbitmq-users
Dear Luke,

Sorry for annoying,

Kindly, appreciate your efforts and your continuous support.
i just want to inform you that i tried to contact the paid support since more than 4 days ago without any response.

did u got the chance to check the solution above or not yet ?

Regards,

Luke Bakken

unread,
Apr 9, 2020, 12:30:35 PM4/9/20
to rabbitmq-users
Hi Marwan,

If that code works in your project, that's great. Please note that there have been many fixes to the RabbitMQ.Client library since then.

If you have time to modify the RabbitMQ.ServiceModel project to work with the latest RabbitMQ.Client code, that would be appreciated.

Thanks,
Luke

Luke Bakken

unread,
Apr 9, 2020, 1:05:36 PM4/9/20
to rabbitmq-users
Hello again Marwan,

I took a small amount of time to restore the RabbitMQ.ServiceModel project in a branch. It is compatible with the upcoming 6.0.0 release of the client. You can find the pull request here:


If you have time to test this code in your environment, that would be great:


I do not have a WCF environment in which to test that code.

Thanks,
Luke

Michael Klishin

unread,
Apr 9, 2020, 3:24:18 PM4/9/20
to rabbitmq-users
The Service Model sees too little usage to be maintained by our team. If you are interesting in keeping this project alive,
please fork it and take over maintenance. We can arrange NuGet artifact transfer but I don't remember if we even had one.

There simply isn't enough usage and the WCF bindings are terribly out of date. Our team has more important things to spend our time on.
That's a sad reality of maintaining a large enough ecosystem.

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/0428bd2d-4a76-49d3-a058-14ba6cede33e%40googlegroups.com.


--
MK

Staff Software Engineer, Pivotal/RabbitMQ
Reply all
Reply to author
Forward
0 new messages