Return-Path: X-Original-To: apmail-qpid-users-archive@www.apache.org Delivered-To: apmail-qpid-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6418AC8BC for ; Fri, 25 May 2012 08:17:20 +0000 (UTC) Received: (qmail 70463 invoked by uid 500); 25 May 2012 08:17:20 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 70036 invoked by uid 500); 25 May 2012 08:17:17 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 69965 invoked by uid 99); 25 May 2012 08:17:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 May 2012 08:17:15 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of fraser.adams@blueyonder.co.uk designates 81.103.221.48 as permitted sender) Received: from [81.103.221.48] (HELO mtaout02-winn.ispmail.ntl.com) (81.103.221.48) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 May 2012 08:17:07 +0000 Received: from know-smtpout-1.server.virginmedia.net ([62.254.123.1]) by mtaout02-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20120525081645.OCSA28930.mtaout02-winn.ispmail.ntl.com@know-smtpout-1.server.virginmedia.net> for ; Fri, 25 May 2012 09:16:45 +0100 Received: from [82.33.36.91] (helo=[192.168.1.2]) by know-smtpout-1.server.virginmedia.net with esmtpa (Exim 4.63) (envelope-from ) id 1SXpe7-0003lS-Qh for users@qpid.apache.org; Fri, 25 May 2012 09:13:15 +0100 Message-ID: <4FBF3F1B.20405@blueyonder.co.uk> Date: Fri, 25 May 2012 09:13:15 +0100 From: Fraser Adams User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: users@qpid.apache.org Subject: Re: Erlang client for Qpid C++ Broker References: <06139A918ACCA041BF46A0F36940C7FA39CAB251@exch-mbx2.msk.trd.ru> <06139A918ACCA041BF46A0F36940C7FA39CAB78D@exch-mbx2.msk.trd.ru> <4FBF3253.8000101@blueyonder.co.uk> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Cloudmark-Analysis: v=1.1 cv=JvdXmxIgLJv2/GthKqHpGJEEHukvLcvELVXUanXFreg= c=1 sm=0 a=eFosVe0FMc8A:10 a=TyZ6BAhRAx4A:10 a=3NElcqgl2aoA:10 a=IkcTkHD0fZMA:10 a=a5Gf7U6LAAAA:8 a=mV9VRH-2AAAA:8 a=pGLkceISAAAA:8 a=UaJdHZupAAAA:8 a=-q4xceqyw4092QkEM7MA:9 a=QEXdDO2ut3YA:10 a=yHIqe9kG5mgA:10 a=MSl-tDqOz04A:10 a=OGld4uEDLF__oo0f:21 a=tEHL8lkzLtCcQvOA:21 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 X-Virus-Checked: Checked by ClamAV on apache.org Hi Boris, Remember I said that we integrated qpid with Apache ActiveMQ via Camel, I was trying to illustrate an analogous position not an identical one, so we have a Camel based component that subscribes to messages off a qpid broker and republishes to an ActiveMQ broker, which is simply a bridge and not a lot different logically than the suggestion to use the java qpid broker as a bridge between different AMQP versions. I think that Gordon Sim had done some work investigating bridging to rabbitmq, but I don't know how much success he had. my suspicion is that using the java broker as a bridge is the option most likely to succeed. Frase On 25/05/12 08:32, Ilyushonak Barys wrote: > Hi, Frase > > Thank you very much for the explanation. > The one more thing we can do is to move our clients to rabbitmq directly. > As far as we use camel a lot, it looks much easier than adopt qpid java to rabbitmq client. > > But. The way we would like to achieve - is to keep qpid c++ performance. So, we are going to investigate it. > > Regards, > Boris > > -----Original Message----- > From: Fraser Adams [mailto:fraser.adams@blueyonder.co.uk] > Sent: Friday, May 25, 2012 11:20 AM > To: users@qpid.apache.org > Subject: Re: Erlang client for Qpid C++ Broker > > Hi Guys, > I think that's a fair point, though to be fair the approach Alex suggested is really just an instance of a message bridge, which is a standard Integration Pattern. It's clearly not ideal but ultimately you have an integration problem to solve. We've had similar scenarios bridging between qpid and ActiveMQ - in our case we used Apache Camel as it has a qpid endpoint and integrates well with ActiveMQ, but ultimately the issues are pretty similar to yours. > > Also in many topologies it's pretty common to federate brokers - I guess it depends on your architecture but a fairly common pattern in a geographically distributed system would be for clients to publish to a local broker and for that broker to be federated to other locations, it might be slightly counterintuitive but in that sort of scenario you are likely to improve reliability of the overall system and certainly improve things from the perspective of the publishing client. Clearly if your architecture comprised a single C++ broker with clients publishing/consuming directly to it then there's a potential reduction in reliability due to probabilities (MTBF) being multiplicative on components connected in series. > > One option (though adds a little more complexity) would be to to stand up a couple of parallel instances of the Java broker and load balance between them, that's useful from a scaling perspective if you have "peaky" performance characteristics but more usefully if one falls over the other carries on. > > Sorry that I can't be of more practical help, but hopefully I can reassure you that the sort of problems/choices/compromises you're having to make are pretty common sometimes it's a case of gritting teeth and doing what's "least worst" as opposed to elegant - that'll be the difference between engineering and theory :-) > > I expect most of us are going to be faced with "comedy" integration problems when AMQP 1.0 starts to roll out. I *really hope* hint hint!!! > that the qpid brokers for AMQP 1.0 are going to be bilingual 0.10/1.0 or I'm going to have some fun.... > > Good luck > Frase > > > On 25/05/12 07:47, Zhemzhitsky Sergey wrote: >> Hi Alex, >> >> Thanks a lot, but this sounds pretty horrible, I suppose. >> Introducing new java brokers just to forward messages to c++ broker increases complexity of the overall system and decreases its reliability. >> >> Best Regards, >> Sergey >> >> >> -----Original Message----- >> From: Oleksandr Rudyy [mailto:orudyy@gmail.com] >> Sent: Thursday, May 24, 2012 8:28 PM >> To: users@qpid.apache.org >> Subject: Re: Erlang client for Qpid C++ Broker >> >> Hi Sergey, >> >> You cannot use 0.9.1 amqp client with broker supporting only 0.10 amqp protocol. >> >> Java Qpid Broker supports both 0.10 and 0.9.1 protocols. >> >> You can publish messages with Erling client into Qpid Java Broker (or RabitMQ broker) and use Qpid java client to consume messages from that broker and publish them into c++ Qpid broker. >> >> Kind Regards, >> Alex Rudyy >> >> On 24 May 2012 16:18, Zhemzhitsky Sergey wrote: >>> Hi there, >>> >>> I have to use qpid c++ broker 0.12 from erlang. >>> Are there any erlang clients that can be used to connect to the qpid c++ broker, except for rabbitmq client? >>> If there isn’t, have anybody succeeded in connecting rabbitmq erlang client that supports amqp 0.9.1 to the qpidd c++ broker that supports amqp 0.10 only? >>> >>> Best Regards, >>> Sergey >>> >>> >>> _______________________________________________________ >>> >>> The information contained in this message may be privileged and conf idential and protected from disclosure. If you are not the original intended recipient, you are hereby notified that any review, retransmission, dissemination, or other use of, or taking of any action in reliance upon, this information is prohibited. If you have received this communication in error, please notify the sender immediately by replying to this message and delete it from your computer. Thank you for your cooperation. Troika Dialog, Russia. >>> If you need assistance please contact our Contact Center (+7495) 258 >>> 0500 or go to www.troika.ru/eng/Contacts/system.wbp >>> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org For >> additional commands, e-mail: users-help@qpid.apache.org >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org For >> additional commands, e-mail: users-help@qpid.apache.org >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org For additional commands, e-mail: users-help@qpid.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org > For additional commands, e-mail: users-help@qpid.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org For additional commands, e-mail: users-help@qpid.apache.org