Alexis, <br><br>I've uploaded the gist at <a href="http://gist.github.com/276195">http://gist.github.com/276195</a><br><br>Pradeep<br><a href="http://www.masplantiz.com">www.masplantiz.com</a><br><br><div class="gmail_quote">
On Wed, Jan 13, 2010 at 6:47 PM, Alexis Richardson <span dir="ltr"><<a href="mailto:alexis.richardson@gmail.com">alexis.richardson@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks Pradeep! Would you mind posting that on github as a gist? I<br>
would love to link to it from our links repository.<br>
<br>
Here is something similar in Scala:<br>
<div class="im"><br>
<a href="http://github.com/slider/amqp-relay" target="_blank">http://github.com/slider/amqp-relay</a><br>
<br>
</div>a<br>
<br>
<br>
On Wed, Jan 13, 2010 at 12:48 PM, Pradeep Gatram<br>
<div><div></div><div class="h5"><<a href="mailto:pradeep.gatram@gmail.com">pradeep.gatram@gmail.com</a>> wrote:<br>
> Here is a quick n dirty amqp replicator that we've been using for a while.<br>
> Modified it a bit to remove some project specific stuff. You may use it<br>
> while you wait for the new release.<br>
><br>
> Ruby code:<br>
><br>
> require 'rubygems'<br>
> require 'mq'<br>
><br>
> EM.run do<br>
> def replicate source, destination, topic<br>
> source_q = MQ::Queue.new(source, "replicator for #{topic}")<br>
> source_q.bind(MQ::Exchange.new(source, :topic, topic))<br>
> destination_ex = MQ::Exchange.new(destination, :topic, topic)<br>
><br>
> source_q.subscribe do |headers, msg|<br>
> destination_ex.publish(msg)<br>
> end<br>
> end<br>
><br>
> local, remote = %w{one two}, %w{three}<br>
> localhost, remotehost = 'localhost', '192.168.0.26'<br>
><br>
> local_channel = MQ.new(AMQP.connect(:host => localhost, :logging =><br>
> false))<br>
> remote_channel = MQ.new(AMQP.connect(:host => remotehost, :logging =><br>
> false))<br>
><br>
> local.each { |t| replicate local_channel, remote_channel, t }<br>
> remote.each { |t| replicate remote_channel, local_channel, t }<br>
> end<br>
><br>
><br>
> Regards,<br>
> Pradeep<br>
><br>
><br>
> On Wed, Jan 13, 2010 at 5:42 PM, Alexis Richardson<br>
> <<a href="mailto:alexis.richardson@gmail.com">alexis.richardson@gmail.com</a>> wrote:<br>
>><br>
>> Seema<br>
>><br>
>> It's been imminent for some time - QA in underway currently. We hit<br>
>> the usual slowdowns due to the holiday season.<br>
>><br>
>> We'll be sure to let you know.<br>
>><br>
>> alexis<br>
>><br>
>><br>
>> On Wed, Jan 13, 2010 at 12:09 PM, Seema Biradar <<a href="mailto:seemasbiradar@gmail.com">seemasbiradar@gmail.com</a>><br>
>> wrote:<br>
>> > Ok Thanks for the information!<br>
>> ><br>
>> > Please let me know when the next release is? and<br>
>> > The link from where we can download the same ?<br>
>> ><br>
>> > Thanks again!<br>
>> > Regards<br>
>> > Seema<br>
>> ><br>
>> ><br>
>> > On Wed, Jan 13, 2010 at 5:22 PM, Alexis Richardson<br>
>> > <<a href="mailto:alexis.richardson@gmail.com">alexis.richardson@gmail.com</a>> wrote:<br>
>> >><br>
>> >> Seema<br>
>> >><br>
>> >> I have just asked the team about this and learnt that Shovel was taken<br>
>> >> offline for a few weeks pending our next server release. This is<br>
>> >> because we wanted to make some changes to the plugin to align with<br>
>> >> server changes. Would you mind waiting a few weeks? If you need to<br>
>> >> do something quickly, then please let us know.<br>
>> >><br>
>> >> Best wishes<br>
>> >><br>
>> >> alexis<br>
>> >><br>
>> >><br>
>> >><br>
>> >><br>
>> >><br>
>> >><br>
>> >><br>
>> >> On Wed, Jan 13, 2010 at 9:17 AM, Seema Biradar<br>
>> >> <<a href="mailto:seemasbiradar@gmail.com">seemasbiradar@gmail.com</a>><br>
>> >> wrote:<br>
>> >> > Can you please let me know where can i download or get src for the<br>
>> >> > Shove<br>
>> >> > pluggin.<br>
>> >> ><br>
>> >> ><br>
>> >> > On Tue, Jan 12, 2010 at 11:22 PM, Alexis Richardson<br>
>> >> > <<a href="mailto:alexis.richardson@gmail.com">alexis.richardson@gmail.com</a>> wrote:<br>
>> >> >><br>
>> >> >> Seema,<br>
>> >> >><br>
>> >> >> I am not the best person to answer your question in full, but: In<br>
>> >> >> addition to what Pradeep said, you need to be aware that Shovel is a<br>
>> >> >> RabbitMQ plugin. The plugins are described here:<br>
>> >> >> <a href="http://www.rabbitmq.com/admin-guide.html#plugins" target="_blank">http://www.rabbitmq.com/admin-guide.html#plugins</a><br>
>> >> >><br>
>> >> >> The following talk describes a use case involving Shovel -<br>
>> >> >><br>
>> >> >><br>
>> >> >><br>
>> >> >><br>
>> >> >> <a href="http://qconsf.com/sf2009/presentation/Open+Source+at+Unibet.com+-+10x+Scalability+at+Half+the+Cost" target="_blank">http://qconsf.com/sf2009/presentation/Open+Source+at+Unibet.com+-+10x+Scalability+at+Half+the+Cost</a><br>
>> >> >><br>
>> >> >> And Stefan's slides are here:<br>
>> >> >><br>
>> >> >> <a href="http://qconsf.com/sf2009/tracks/show_track.jsp?trackOID=301" target="_blank">http://qconsf.com/sf2009/tracks/show_track.jsp?trackOID=301</a><br>
>> >> >><br>
>> >> >> alexis<br>
>> >> >><br>
>> >> >><br>
>> >> >> On Tue, Jan 12, 2010 at 7:18 AM, Pradeep Gatram<br>
>> >> >> <<a href="mailto:pradeep.gatram@gmail.com">pradeep.gatram@gmail.com</a>> wrote:<br>
>> >> >> > Seema,<br>
>> >> >> ><br>
>> >> >> > You dont have to interact with Shovel directly. Look at it this<br>
>> >> >> > way<br>
>> >> >> ><br>
>> >> >> > p1-->R1 --> Shovel (or amqp-relay) -->R2-->C2<br>
>> >> >> ><br>
>> >> >> > p1 & c2 can be in any programming language. You just have to<br>
>> >> >> > "configure"<br>
>> >> >> > the<br>
>> >> >> > Shovel/amqp-relay appropriately.<br>
>> >> >> ><br>
>> >> >> > Pradeep<br>
>> >> >> ><br>
>> >> >> > On Tue, Jan 12, 2010 at 12:30 PM, Seema Biradar<br>
>> >> >> > <<a href="mailto:seemasbiradar@gmail.com">seemasbiradar@gmail.com</a>><br>
>> >> >> > wrote:<br>
>> >> >> >><br>
>> >> >> >> Hi,<br>
>> >> >> >> Thanks for the information.<br>
>> >> >> >><br>
>> >> >> >> I need one more help .<br>
>> >> >> >><br>
>> >> >> >> Can you please suggest me how can we use Shovel component and<br>
>> >> >> >> RabbitMQ<br>
>> >> >> >> using in JAVA Programming language.<br>
>> >> >> >><br>
>> >> >> >> Using JAVA as programming language (RabbitMQ Java API), how can<br>
>> >> >> >> we<br>
>> >> >> >> make<br>
>> >> >> >> use of shovel component?<br>
>> >> >> >> (I am using RabbitMQ bundle for Windows )<br>
>> >> >> >><br>
>> >> >> >> If any examples are there ( RabbitMQ Java API + Shovel<br>
>> >> >> >> Application )<br>
>> >> >> >> .please let me know.<br>
>> >> >> >><br>
>> >> >> >> Thanksin adavance.<br>
>> >> >> >> Seema<br>
>> >> >> >><br>
>> >> >> >><br>
>> >> >> >><br>
>> >> >> >> On Mon, Jan 11, 2010 at 4:30 PM, Alexis Richardson<br>
>> >> >> >> <<a href="mailto:alexis.richardson@gmail.com">alexis.richardson@gmail.com</a>> wrote:<br>
>> >> >> >>><br>
>> >> >> >>> Seema<br>
>> >> >> >>><br>
>> >> >> >>> We have a component called Shovel that does this. Have a look<br>
>> >> >> >>> at:<br>
>> >> >> >>><br>
>> >> >> >>><br>
>> >> >> >>><br>
>> >> >> >>><br>
>> >> >> >>><br>
>> >> >> >>> <a href="http://www.google.com/custom?hl=en&client=google-coop&cof=FORID%3A13%3BAH%3Aleft%3BCX%3ASearch%2520rabbitmq%252Ecom%3BL%3Ahttp%3A%2F%2Fwww.google.com%2Fintl%2Fen%2Fimages%2Flogos%2Fcustom_search_logo_sm.gif%3BLH%3A30%3BLP%3A1%3BVLC%3A%23551a8b%3BDIV%3A%23cccccc%3B&adkw=AELymgUM4bEBKZRWHklce-FzQ07Y_Ty_1vnaPtrQ8r-mfG-h02gaVCQWhzccmyx_IeDaFY9Tk26r8LoVr4kPf-qF5JYWjXQjBG5fUe-P7g5bl1eaF1uKRUU&boostcse=0&q=shovel+rabbitmq&btnG=Search&cx=%21009922129631189805192%3Akpd1zoym_hq" target="_blank">http://www.google.com/custom?hl=en&client=google-coop&cof=FORID%3A13%3BAH%3Aleft%3BCX%3ASearch%2520rabbitmq%252Ecom%3BL%3Ahttp%3A%2F%2Fwww.google.com%2Fintl%2Fen%2Fimages%2Flogos%2Fcustom_search_logo_sm.gif%3BLH%3A30%3BLP%3A1%3BVLC%3A%23551a8b%3BDIV%3A%23cccccc%3B&adkw=AELymgUM4bEBKZRWHklce-FzQ07Y_Ty_1vnaPtrQ8r-mfG-h02gaVCQWhzccmyx_IeDaFY9Tk26r8LoVr4kPf-qF5JYWjXQjBG5fUe-P7g5bl1eaF1uKRUU&boostcse=0&q=shovel+rabbitmq&btnG=Search&cx=!009922129631189805192%3Akpd1zoym_hq</a><br>
>> >> >> >>><br>
>> >> >> >>> Also, some has created a 'relay' project on Github:<br>
>> >> >> >>> <a href="http://github.com/slider/amqp-relay" target="_blank">http://github.com/slider/amqp-relay</a><br>
>> >> >> >>><br>
>> >> >> >>> Does this answer your question?<br>
>> >> >> >>><br>
>> >> >> >>> alexis<br>
>> >> >> >>><br>
>> >> >> >>><br>
>> >> >> >>> On Mon, Jan 11, 2010 at 7:21 AM, Seema Biradar<br>
>> >> >> >>> <<a href="mailto:seemasbiradar@gmail.com">seemasbiradar@gmail.com</a>><br>
>> >> >> >>> wrote:<br>
>> >> >> >>> > Hi<br>
>> >> >> >>> ><br>
>> >> >> >>> > My requirement is like this<br>
>> >> >> >>> ><br>
>> >> >> >>> > Two instance of RabbitMQ server are running at different<br>
>> >> >> >>> > IP.say<br>
>> >> >> >>> > assume<br>
>> >> >> >>> > P1 is a producer of rabitmq1 R1(which is in one mechine)<br>
>> >> >> >>> > C2 is a cosumer of rabittmq2 R2 (which is running in another<br>
>> >> >> >>> > mechine),i<br>
>> >> >> >>> > Is it possible the communication flow in the following<br>
>> >> >> >>> > manner,<br>
>> >> >> >>> > p1-->R1-->R2-->C2<br>
>> >> >> >>> ><br>
>> >> >> >>> > If there small example please mail me back<br>
>> >> >> >>> ><br>
>> >> >> >>> > Thanks in advance<br>
>> >> >> >>> > Seema<br>
>> >> >> >>> ><br>
>> >> >> >>> > _______________________________________________<br>
>> >> >> >>> > rabbitmq-discuss mailing list<br>
>> >> >> >>> > <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
>> >> >> >>> ><br>
>> >> >> >>> ><br>
>> >> >> >>> > <a href="http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
>> >> >> >>> ><br>
>> >> >> >>> ><br>
>> >> >> >><br>
>> >> >> >><br>
>> >> >> >> _______________________________________________<br>
>> >> >> >> rabbitmq-discuss mailing list<br>
>> >> >> >> <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
>> >> >> >><br>
>> >> >> >> <a href="http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
>> >> >> >><br>
>> >> >> ><br>
>> >> >> ><br>
>> >> >> > _______________________________________________<br>
>> >> >> > rabbitmq-discuss mailing list<br>
>> >> >> > <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
>> >> >> ><br>
>> >> >> > <a href="http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
>> >> >> ><br>
>> >> >> ><br>
>> >> ><br>
>> >> ><br>
>> ><br>
>> ><br>
>><br>
>> _______________________________________________<br>
>> rabbitmq-discuss mailing list<br>
>> <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
>> <a href="http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
><br>
><br>
</div></div></blockquote></div><br>