开发者

Java Message Service and Haskell

I was wondering if there is any way to receive JMS messages from some provider like ActiveMQ or WebMQ in a Haskell program. I've seen that there is a Haskell client f开发者_如何转开发or ActiveMQ but it seems to be unmaintained.

Has anybody experience with this or any kind of advise?


Looks like the main libraries we currently have are:

  • amqp
  • zero-mq

If those aren't suitable, you might use them as a starting point to develop your own library.


If what you're looking for is just java/haskell IPC you may want to look at thrift (see http://incubator.apache.org/thrift/), which I've had good success with so far.


You can access ActiveMQ using the Stomp protocol with this library https://hackage.haskell.org/package/stomp-queue

You can enable Stomp on ActiveMQ like this:

<transportConnectors>
<transportConnector name="stomp" uri="stomp://localhost:61613"/> 
</transportConnectors>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜