Connect to a RabbitMQ server using Swift on Mac OS or iOS?

I have an application that runs fine on Windows and wants to make a port for use on iOS and Mac OS. The application uses RabbitMQ, but I could not find many examples or documentation for how to do this.

I have the server setup set to AWS, the example I'm looking for is just the client side of the RabbitMQ connection.

Does anyone know any example code that can do this with Swift? The C expression should also work, but Swift code would be very appreciated.

+4
source share
1 answer

I don't think anyone has ported the RabbitMQ client library to Swift yet.

RabbitMQ (http://www.rabbitmq.com/devtools.html), librabbitmq swift Github .

, Objective-C librabbitmq.

. , :

https://github.com/profmaad/librabbitmq-objc

Objective-C Swift:

https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conceptual/BuildingCocoaApps/MixandMatch.html

+3

Source: https://habr.com/ru/post/1546758/


All Articles