Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RabbitMQ Client- Is there a portable class library version

Does anyone know if there is a portable class library (PCL) version of the RabbitMQ client libraries that could be used in the developmentof a Xamarin mobile application?

If nor does anyone know of a similar AMPQ client as a PCL

Thanks in advance

like image 220
rideintothesun Avatar asked Jan 24 '26 20:01

rideintothesun


2 Answers

While using Xamarin, you can communicate (send/receive push-notifications) with rabbitMQ using Rabbitmq-web-STOMP plugin activated on broker end, and use socket-io at Xamarin (using web sockets).For details regarding how to do it in xamarin see here. Use the example code that gets generated after you install the stomp and stomp examples on rabbitServer by :

rabbitmq-plugins enable rabbitmq_web_stomp

rabbitmq-plugins enable rabbitmq_web_stomp_examples

for rabbitly-details have a look here, and into the source of "echo" example .

like image 193
Anshuman Banerjee Avatar answered Jan 26 '26 12:01

Anshuman Banerjee


Well, RabbitMQ.Client requires .NET Standard 1.5, and Xamarin.Andorid and Xamarin.iOS provide.NET Standard 1.6: https://github.com/dotnet/standard/blob/master/docs/versions.md

P.S. make sure to convert your projects to package.json structure instead of "old" nuget packages.config. dotnet build tools are also a must (Visual Studio 2015 Update 3?)

like image 42
Denis Biondic Avatar answered Jan 26 '26 10:01

Denis Biondic



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!