activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <dejan.bosa...@ttmsolutions.com>
Subject Re: Writing a custom (non-JMS) TCP protocol
Date Thu, 23 Oct 2008 13:14:10 GMT
I'm just curious whether you've tried Stomp protocol and what do you
find missing?

Regards

-- 
Dejan Bosanac


http://www.ttmsolutions.com - get a free ActiveMQ user guide

ActiveMQ in Action - http://www.manning.com/snyder/
Scripting in Java - http://www.scriptinginjava.net



Andy Gross wrote:
>
> I'm currently using ActiveMQ in a mixed-language environment.   For
> the non-Java clients, I hacked the Ajax/MessageListener servlet
> modules to produce JSON and wrote clients using the HTTP client/JSON
> libraries of the respective languages (basically translations of the
> Ajax long-poll example in _amq.js).
>
> The mismatch between HTTP and JMS semantics, as well as the
> wierdnesses that arise with HTTP servers, proxies and client libraries
> makes this approach suboptimal.   I'd like to develop a custom JSON
> over TCP protocol that encapsulates the subset of JMS that we need.  
> In other words, I'd like to embed an NIO framework like Xsocket inside
> ActiveMQ and write connection handlers for my protocol just like one
> writes Jetty servlets in the default distribution.
>
> I've searched the wiki and mailing list archives pretty well and
> haven't seen this question come up.  Any help (including pointers to
> code) would be most appreciated.
>
> Regards,
>
> Andy Gross
>
>
>


-- 
Dejan Bosanac


http://www.ttmsolutions.com - get a free ActiveMQ user guide

ActiveMQ in Action - http://www.manning.com/snyder/
Scripting in Java - http://www.scriptinginjava.net


Mime
View raw message