+1
Should we add a pom.xml into this? I looked into jeff's folder and there is no Maven.. but this is javascript How would that get packaged on the distribution within activemq-5? (I will take a look on monday after the holidays.. but if anyone have any pointers...) On Thu, Apr 2, 2015 at 11:13 AM, Christian Posta <[email protected]> wrote: > I think this would be a valuable contribution to the ActiveMQ code base. > Thanks for offering! > > On Thu, Apr 2, 2015 at 6:13 AM, Jeff Mesnil <[email protected]> wrote: > >> Hi, >> >> I'm the writer of the stomp.js[1] which is a JavaScript library to use >> STOMP (over TCP or Web Sockets). >> This library is used to send and receive messages from Web >> applications and is often used in conjunction with ActiveMQ. It can >> also be used from JavaScript applications running in node.js[2] too. >> ActiveMQ is shipped with it to run its we socket example[3] >> >> This library was developed and maintained on my spare time but due to >> recent development in my life (mainly having a new baby) I no longer >> have much free time to maintain this library. >> The library is small, quite stable and documented[4] (I also wrote a >> book[5] for O'Reilly about it using ActiveMQ as the broker :) but >> there is still work to iron things out (mainly compatibility with >> various Web browsers). >> >> I don't want it to become abandonware and I'm looking for an Open >> Source community which could take care of it. >> ActiveMQ is my first choice as it has always been very supportive of >> STOMP and was one of the first broker to support Web Sockets. >> >> The project is under the Apache License v2.0 >> >> My only regret with this project is to have rewritten it at one point >> using CoffeeScript. I think it has hampered contributions (most of the >> patches updates the generated JavaScript) without much benefit (the >> CoffeeScript code[6] is just a bit more readable than the generated >> JavaScript[7]). >> If the ActiveMQ community is interested by this library, I'd be happy >> to provide any assistance during the transition. >> >> What do you think of this code donation? Would there be some interest? >> >> Thanks, >> jeff >> >> [1] https://github.com/jmesnil/stomp-websocket >> [2] https://www.npmjs.com/package/stompjs >> [3] >> https://github.com/apache/activemq/tree/master/activemq-web-demo/src/main/webapp/websocket >> [4] http://jmesnil.net/stomp-websocket/doc/ >> [5] http://shop.oreilly.com/product/0636920032366.do >> [6] >> https://github.com/jmesnil/stomp-websocket/blob/master/src/stomp.coffee >> [7] https://github.com/jmesnil/stomp-websocket/blob/master/lib/stomp.js >> >> -- >> Jeff Mesnil >> [email protected] >> http://jmesnil.net/weblog/ >> > > > > -- > *Christian Posta* > twitter: @christianposta > http://www.christianposta.com/blog > http://fabric8.io -- Clebert Suconic http://community.jboss.org/people/[email protected] http://clebertsuconic.blogspot.com
