You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by entweder <ma...@gmail.com> on 2011/01/16 19:14:04 UTC

Re: ActiveMQ for Android

I forgot:

some of the solutions offered by some other desperate users ar not
satisfying:

The XMPP-protocol seems to translate every message into a TextMessage. I
need to use MapMessages as well. 

Also, I want to avoid to use some proxy translating ActiveMQ messages into
other messages that are sent or received by some Android client. Except when
somebody has already implemented such a proxy and the Android client and
would give me the source code for free ;-)
-- 
View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-for-Android-tp3220245p3220255.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: ActiveMQ for Android

Posted by Gary Tully <ga...@gmail.com>.
you should be able to extract the simple stomp java api from the
activemq source: see usage example here:
http://activemq.apache.org/stomp.html#Stomp-JavaAPI

but the connection oriented nature of jms/stomp and the disconnected
nature of mobile may not be a good match. You may want to consider
using the rest API: http://activemq.apache.org/rest.html - in this way
the broker/server will maintain any required jms state.

That said, a small footprint openwire client that uses failover over
tcp should be workable, the main problem is that activemq-core
contains lots of broker side implementation and is very heavy weight
as a result. To reduce it to the bare minimum will take a bit of work.

On 16 January 2011 18:14, entweder <ma...@gmail.com> wrote:
>
> I forgot:
>
> some of the solutions offered by some other desperate users ar not
> satisfying:
>
> The XMPP-protocol seems to translate every message into a TextMessage. I
> need to use MapMessages as well.
>
> Also, I want to avoid to use some proxy translating ActiveMQ messages into
> other messages that are sent or received by some Android client. Except when
> somebody has already implemented such a proxy and the Android client and
> would give me the source code for free ;-)
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-for-Android-tp3220245p3220255.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>



-- 
http://blog.garytully.com
http://fusesource.com