-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile to UWP #2
Comments
I think the short answer is that it will be a lot of work, and ultimately I'm not 100% sure it will be issue free. I don't think there is official support for the .NET RabbitqMQ client for UWP. It sounds like there is an experimental RabbitMQ.Client.WinRT.dll that might support UWP. There are issues with how non-UWP and UWP apps reference .NET networking code (they reference different socket implementations) and the official RabbitMQ .NET client does not implement both versions. The good news is that all of the AMQP/RabbitMQ API in this project is abstracted by .NET interfaces so theoretically someone could add an implementation around the experimental WinRT client DLL. There is a client factory pattern in place, but currently it's hardcoded to use the 3.4.4/.NET 3.5 version for compatibility with Unity/Mono, so that would have to be modified slightly to be injectable so it could pick an alternative UWP implementation and deliver its client instance when creating from the client factory. The scaffolding is there at least. |
Hi, I'm interested in this subject. Do you have any news? |
@igsanchez So I ended up wrapping the RabbitMQ C library with a C# layer and loading that into Unity. Works like a champ and was simple to do. I can post my code in a repo if you would like. |
@foomanchu1234 I'm also interested in this issue. It would be nice and help me a lot if you could share your code. |
Sorry for the long delay. I had to get approval from boss and strip out all IP before releasing this. Here is my thin C wrapper for RabbitMQ. Its purpose is to provide a simple interface I can import into Unity. Included in this repo is C# source you can use in Unity. |
Is it possible to get this to run in a UWP app? You mention there is more work, what needs to be done? I can and am willing to write the code if you have an idea of what should be done.
The text was updated successfully, but these errors were encountered: