[rabbitmq-discuss] rabbit client library for android
Miguel Morales
therevoltingx at gmail.com
Mon Dec 13 02:42:47 GMT 2010
Hey Andrius, as I mentioned in my previous private reply I've been
using the RabbitMQ with Android with no apparent issues as far as
messages sending/receiving goes.
(I have noticed that while going/driving around with the phone I lose
messages but I haven't done extensive testing. It might have to do
with something else.)
Here's a test project I setup to test out the rabbitmq client on
Android: https://github.com/therevoltingx/rabbitmq_android_test
Because I wanted to consume a lot of messages fast the GC runs were a
big problem. I tried to tweak the library with no success and managed
on moving the high-speed stuff to my own socket/tcp based code and
only use RabbitMQ for things like chat, push notifications, etc.
In the project I posted I even tried to experiment with the rabbitmq-c
client on Android. I managed to compile it and even publish and
receive messages but passing the messages to Java via JNI proved to be
too much for my low C skills.
Best of luck,
Miguel
On Sun, Dec 12, 2010 at 5:04 PM, Matt Miller <matt at mydomedia.com> wrote:
> Andrius,
>
> Off the top of my head I remember seeing mention of possible memory leaks using the Java clients, but I cannot attest to their actual existence as I typically use the python, javascript and C libraries for RabbitMQ.
>
> The fact you have the Java client working on Android is very cool, one possible drawback that comes to mind is (from what I hear) the JVMs are different and support/implementation can vary amongst the various Android platforms/providers? I may be totally of target here as I have never personally touched android development (yet).
>
> Also if you had to tweak the rabbitmq java client to get it running on Android keeping these libraries up to date yourself might be a pain.
>
> As a note, if you are not already aware, the RabbitMQ team has quite a bit of projects on github.com and I find it very useful to stay on top of whats cookin'. The team has also been very helpful for me personally and I always find it a pleasure emailing/speaking with them.
>
> Most of the work I have done involving RabbitMQ is for the web, and I have had good luck working with Socket.IO/Orbited2/Orbited and the stomp/python/javascript clients.
>
> webkit support for android works remarkably well..
>
> Cheers,
> Matt
> ----- Original Message -----
> From: "Andrius Norkaitis" <andrius.norkaitis at oryo.lt>
> To: "Matt Miller" <matt at mydomedia.com>
> Cc: rabbitmq-discuss at lists.rabbitmq.com
> Sent: Sunday, December 12, 2010 7:49:49 PM
> Subject: Re: [rabbitmq-discuss] rabbit client library for android
>
> Matt, thank you very much for link a link. As I see there are several options doing it (xmpp client + xmpp plugin in rabbit, maybe STOMP etc.).
> Anyway I have tried to just to use java client and successfully connected and got massages coming. Could you tell me any drawbacks using java client in Android?
> Have anybody used already and could tell about their experience?
>
> Regards,
> Andrius
>
> -----Original Message-----
> From: Matt Miller [mailto:matt at mydomedia.com]
> Sent: Sunday, December 12, 2010 11:59 PM
> To: Andrius Norkaitis
> Cc: rabbitmq-discuss at lists.rabbitmq.com
> Subject: Re: [rabbitmq-discuss] rabbit client library for android
>
> Checkout http://code.google.com/p/android-json-rpc/
>
> I have never used the json-rpc plugin for rabbitmq, but there are examples which are included.
>
> Good luck,
> Matt
>
> ----- Original Message -----
> From: "Andrius Norkaitis" <andrius.norkaitis at oryo.lt>
> To: rabbitmq-discuss at lists.rabbitmq.com
> Cc: "Matt Miller" <matt at mydomedia.com>
> Sent: Sunday, December 12, 2010 1:40:31 PM
> Subject: Re: [rabbitmq-discuss] rabbit client library for android
>
> I'm building application for Android and seeking how to do push message notifications from RabbitMQ.
>
> Regards,
> Andrius
>
>
> -----Original Message-----
> From: Matt Miller [mailto:matt at mydomedia.com]
> Sent: Sunday, December 12, 2010 7:43 PM
> To: Andrius Norkaitis
> Cc: rabbitmq-discuss at lists.rabbitmq.com
> Subject: Re: [rabbitmq-discuss] rabbit client library for android
>
> Hi Andrius,
>
> There are plenty of options/clients available for the RabbitMQ/AMQP. What specifically are you trying to accomplish? For instance if you plan to build a web-based application you could use something like a javascript stomp client with Orbited.
>
> If you are building a Java based application use the java library, python has a python library, ...
>
> For further information see, http://www.rabbitmq.com/api-guide.html
>
> Cheers,
> Matt
>
> ----- Original Message -----
> From: "Andrius Norkaitis" <andrius.norkaitis at oryo.lt>
> To: rabbitmq-discuss at lists.rabbitmq.com
> Sent: Sunday, December 12, 2010 6:21:02 AM
> Subject: [rabbitmq-discuss] rabbit client library for android
>
>
>
>
>
> Hello,
>
>
>
> Have anybody managed to use rabbit in Android platform? If yes, what have you used/done?
>
> Basically I only need my app in Android to subscribe to query and listed for incoming messages from Rabbit.
>
>
>
> Best regards,
>
> Andrius
>
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
--
~ Jeremiah:9:23-24
Android 2D MMORPG: http://developingthedream.blogspot.com/,
http://www.youtube.com/user/revoltingx
More information about the rabbitmq-discuss
mailing list