From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 43BBA7EEFA for ; Thu, 12 Nov 2015 22:37:56 +0100 (CET) IronPort-PHdr: 9a23:Mu2TeRUZsdAiiGJijeJbxqQztKfV8LGtZVwlr6E/grcLSJyIuqrYZhyBt8tkgFKBZ4jH8fUM07OQ6PC9HzBRqs/d4DgrS99laVwssY0uhQsuAcqIWwXQDcXBSGgEJvlET0Jv5HqhMEJYS47UblzWpWCuv3ZJQk2sfTR8Kum9IIPOlcP/j7n0oM2OJVkZz2PhMftbF1afk0b4joEum4xsK6I8mFPig0BjXKBo/15uPk+ZhB3m5829r9ZJ+iVUvO89pYYbCf2pN4xxd7FTDSwnPmYp/4Wr8ECbFUrcrkcbB0wQnhdSGED94Q33RN/fryT/v+x7kH2TO8H7V6scVymt6q5tTlnuhTtRZBAj92SCr8VqgaETgw+rphd2i9rRaZuYN9Juf73cedIITHZAWcAXUSFdVNDvJ7ATBvYMaL4L57L2oEED+F7nXVGh Authentication-Results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=marek@xivilization.net; spf=Pass smtp.mailfrom=marek@xivilization.net; spf=None smtp.helo=postmaster@coaxial.xivilization.net Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of marek@xivilization.net) identity=pra; client-ip=178.63.18.39; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="marek@xivilization.net"; x-sender="marek@xivilization.net"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of marek@xivilization.net designates 178.63.18.39 as permitted sender) identity=mailfrom; client-ip=178.63.18.39; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="marek@xivilization.net"; x-sender="marek@xivilization.net"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@coaxial.xivilization.net) identity=helo; client-ip=178.63.18.39; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="marek@xivilization.net"; x-sender="postmaster@coaxial.xivilization.net"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0AnBwDkBUVW/ycSP7Jegw8sU2+sYpNPGYV3AgyBMzsRAQEBAQEBAQGBCYItgggBAQMBOgYBATcBBAsLISUPSAYTiCYJAwGyRIVUAQWLdAEBAQEBAQQBAQEBGQaGVIR+hHNOg3iWTYUdiAJlfkmDd5YqNyyCBIIBcYNzBoFEAQEB X-IPAS-Result: A0AnBwDkBUVW/ycSP7Jegw8sU2+sYpNPGYV3AgyBMzsRAQEBAQEBAQGBCYItgggBAQMBOgYBATcBBAsLISUPSAYTiCYJAwGyRIVUAQWLdAEBAQEBAQQBAQEBGQaGVIR+hHNOg3iWTYUdiAJlfkmDd5YqNyyCBIIBcYNzBoFEAQEB X-IronPort-AV: E=Sophos;i="5.20,283,1444687200"; d="scan'208";a="153644366" Received: from coaxial.xivilization.net ([178.63.18.39]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/AES128-GCM-SHA256; 12 Nov 2015 22:37:55 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xivilization.net; s=xiv; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=VOvVkMRkf7ZExk/Z13e9PyKbem2Z2cGTLWQCgmDtANE=; b=uima38MYaoMRkNeRVovbULP45dlNGci6lAYyooNKXBoQQAiciDcmOMO8JLvAJqsamSmq8N6kbMP6C1rBzqwOuKNinJq0ld9Wl1sQ1J9/up9/PUGGy9kgu6fyCElo0dY/GqdCjthDPN1SPIlwgZSk1N0aIiKZudn+9xiNnjqyVAs=; Received: from [2001:a61:22e4:e401:224:d7ff:fe9f:55cc] (helo=localhost.localdomain) by coaxial.xivilization.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84) (envelope-from ) id 1ZwzZ4-0001Mb-0m; Thu, 12 Nov 2015 22:37:54 +0100 Date: Thu, 12 Nov 2015 22:37:53 +0100 From: Marek Kubica To: Anders Peter Fugmann Cc: caml-list Message-ID: <20151112223753.0f8b7145@xivilization.net> In-Reply-To: <563E46B6.8070607@fugmann.net> References: <5635C7E3.80207@fugmann.net> <20151107153222.71ff0157@xivilization.net> <563E46B6.8070607@fugmann.net> X-Mailer: Claws Mail 3.13.0 (GTK+ 2.24.28; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Caml-list] [ANN] ocaml-amqp 0.0.1 Hello, On Sat, 7 Nov 2015 19:45:10 +0100 Anders Peter Fugmann wrote: > Please let me know how it works out. I tried it and it seems to be working quite well. Very nice. Sending a message based on the tests/main.ml works just fine, receiving it with pika was no problem, similarly receiving with Langohr worked just as well. My biggest problem has, in fact been Async itself. As I tried to send a single message via AMQP and then terminate the program I added the Queue.publish call and then >>='d in a function which calls Async's Shutdown. Unfortunately this terminates the Scheduler before it has a chance to send the message. Need to explore more of Async to figure out how to wait for the Deferred.t to be realized before shutting down. > Please be aware that even though I do not expect major changes to the > API, the library is still in heavy development. Please send feedback, > including suggestions on the API so that these can be incorporated > into the next version. So far I haven't had issues with the API. But having some searchable docs published somewhere would definitely be helpful. regards, Marek