Discussion:
Stomp client on Android
Mike Pun
2012-12-24 03:59:42 UTC
Permalink
I am not finding any documentation on this. I would like to use
ActiveMQ/Apollo as we are a heavy Camel shop.

I found what seem to be a viable solution using RabbitMQ and SockJS, and it
should work with our stack (HTML5 and phonegap). But cannot seem to find
anything similiar with ActiveMQ or Apollo. Any thoughts on implementing
SockJS, or something along that line?



--
View this message in context: http://activemq.2283324.n4.nabble.com/Stomp-client-on-Android-tp4661055.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Dejan Bosanac
2012-12-24 12:40:34 UTC
Permalink
Hi,

you can find

https://github.com/fusesource/stompjms/

There are some nice examples on how to use it at

https://github.com/fusesource/stompjms/tree/master/stompjms-client/src/test/java/org/fusesource/stomp/client

Regards
--
Dejan Bosanac
----------------------
Red Hat, Inc.
FuseSource is now part of Red Hat
dbosanac-H+wXaHxf7aLQT0dZR+***@public.gmane.org
Twitter: @dejanb
Blog: http://sensatic.net
ActiveMQ in Action: http://www.manning.com/snyder/
Post by Mike Pun
I am not finding any documentation on this. I would like to use
ActiveMQ/Apollo as we are a heavy Camel shop.
I found what seem to be a viable solution using RabbitMQ and SockJS, and it
should work with our stack (HTML5 and phonegap). But cannot seem to find
anything similiar with ActiveMQ or Apollo. Any thoughts on implementing
SockJS, or something along that line?
--
View this message in context: http://activemq.2283324.n4.nabble.com/Stomp-client-on-Android-tp4661055.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Hiram Chirino
2012-12-26 14:10:42 UTC
Permalink
If you want to use more of a HTML5 solution, try using STOMP over
websockets:

http://www.jmesnil.net/stomp-websocket/doc/

Apollo supports that nicely too.
Post by Mike Pun
I am not finding any documentation on this. I would like to use
ActiveMQ/Apollo as we are a heavy Camel shop.
I found what seem to be a viable solution using RabbitMQ and SockJS, and it
should work with our stack (HTML5 and phonegap). But cannot seem to find
anything similiar with ActiveMQ or Apollo. Any thoughts on implementing
SockJS, or something along that line?
--
http://activemq.2283324.n4.nabble.com/Stomp-client-on-Android-tp4661055.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
--
**

*Hiram Chirino*

*Engineering | Red Hat, Inc.*

*hchirino-H+wXaHxf7aLQT0dZR+***@public.gmane.org <hchirino-H+wXaHxf7aLQT0dZR+***@public.gmane.org> | fusesource.com | redhat.com*

*skype: hiramchirino | twitter: @hiramchirino<http://twitter.com/hiramchirino>
*

*blog: Hiram Chirino's Bit Mojo <http://hiramchirino.com/blog/>*
Mike Pun
2012-12-26 15:32:24 UTC
Permalink
Thank you much. The jmesnil solution is exactly what I was looking at. I
would like to use this across all the platforms, but I understand that
Android does not support websockets yet. Therefore my original question as
to whether Apollo could support the SockJS protocol that jmesnil
implemented. Or is there another way I could do it with HTML5 with the
jmesnil solution on Android? I am not glued to the jmesnil solution, it is
just nice and clean.



--
View this message in context: http://activemq.2283324.n4.nabble.com/Stomp-client-on-Android-tp4661055p4661104.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Loading...