Git Product home page Git Product logo

Comments (5)

AlexanderZubkov avatar AlexanderZubkov commented on June 2, 2024

what rabbitmq-c version do you use?

from librabbitmq-objc.

 avatar commented on June 2, 2024

i dont remember exactly which day i downloaded the code (it was about 2 or 3 months ago), but it was this version
https://github.com/alanxz/rabbitmq-c/tree/master/librabbitmq
anyway, that issue was with the AMPQConsumer.m and not the actual c version, i just wanted to let you know that this issue happened to me and i just solved that way :)

from librabbitmq-objc.

AlexanderZubkov avatar AlexanderZubkov commented on June 2, 2024

Hm, when I've changed it to .a file with headers it gives me errors. Can you PLEASE share the one that you use?

from librabbitmq-objc.

 avatar commented on June 2, 2024

https://www.mediafire.com/?7n2hyozwl0v84na
thats the code i have that is compiled to a .a lib to use (i had to change a value in amqp_framing.c line 1909 because it was creating a queue with auto_delete value set to false '0' and i needed it with true '1')

my project manager is the one who builds the lib.a with an .sh script, im afraid i cant provide you with that since i do not have it :/

from librabbitmq-objc.

HT-Stephen avatar HT-Stephen commented on June 2, 2024

I'm the project manager that he's talking about. I'm not able to share the actual script that I use to build, but the best source that I have ever found after literally 6 months of searching has been:

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

For whatever reason this DOES NOT come up in github searches, and it also doesn't come up when you search for "github.com librabbitmq-objc" on google. We've been able to implement it properly and make adjustments but I will say it's kind of corny that you have to modify amqp_framing.c if you want auto delete exchanges.

After fighting with heartbeat induced crashes and eventually just turning them off, the only major issue we are constantly having is dealing with backgrounding on iOS and soft disconnects. They take something like 30 seconds and never actually work(they always throw unknown error -9 for some reason). What we've had to do to get around this is literally destroy the connection by calling amqp_destroy_connection() on the client and let the server clean up the mess on it's end. Kind of messy but hey it works for now.

from librabbitmq-objc.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.