[rabbitmq-discuss] rabbitmq server to server communication

Seema Biradar seemasbiradar at gmail.com
Tue Jan 19 14:10:53 GMT 2010


Hi,

I am trying to run the shovel in linux using following cmd.

*erl -pa /home/voms/RabbitMQ/shovel/ebin
/home/voms/RabbitMQ/new/rabbitmq-erlang-client/ebin \
-mnesia dir erlang \
-rabbit tcp_listeners'[{"127.0.0.1",5672}]' \
-boot start_sasl -s  rabbit -s shovel.*

I am getting the fllowing info.

*=INFO REPORT==== 19-Jan-2010::19:23:10 ===
    application: shovel
    exited: {shutdown,{shovel_application,start,[normal,[]]}}
    type: temporary*


if I tried to list of managed OTP applications using
application:which_applications(). cmd in Erlang shell i am getting the
following. Shovel is not running.

 *1> application:which_applications().
[{rabbit,"RabbitMQ","1.7.0"},
 {mnesia,"MNESIA  CXC 138 12","4.4.12"},
 {os_mon,"CPO  CXC 138 46","2.2.4"},
 {sasl,"SASL  CXC 138 11","2.1.8"},
 {stdlib,"ERTS  CXC 138 10","1.16.5"},
 {kernel,"ERTS  CXC 138 10","2.13.5"}]*

I need to run the shovel application.Pease help me on this.
Thanks in advance.
Seema






On Wed, Jan 13, 2010 at 7:22 PM, Pradeep Gatram <pradeep.gatram at gmail.com>wrote:

> Alexis,
>
> I've uploaded the gist at http://gist.github.com/276195
>
> Pradeep
> www.masplantiz.com
>
>
> On Wed, Jan 13, 2010 at 6:47 PM, Alexis Richardson <
> alexis.richardson at gmail.com> wrote:
>
>> Thanks Pradeep!  Would you mind posting that on github as a gist?  I
>> would love to link to it from our links repository.
>>
>> Here is something similar in Scala:
>>
>> http://github.com/slider/amqp-relay
>>
>> a
>>
>>
>> On Wed, Jan 13, 2010 at 12:48 PM, Pradeep Gatram
>>  <pradeep.gatram at gmail.com> wrote:
>> > Here is a quick n dirty amqp replicator that we've been using for a
>> while.
>> > Modified it a bit to remove some project specific stuff. You may use it
>> > while you wait for the new release.
>> >
>> > Ruby code:
>> >
>> > require 'rubygems'
>> > require 'mq'
>> >
>> > EM.run do
>> >   def replicate source, destination, topic
>> >     source_q = MQ::Queue.new(source, "replicator for #{topic}")
>> >     source_q.bind(MQ::Exchange.new(source, :topic, topic))
>> >     destination_ex = MQ::Exchange.new(destination, :topic, topic)
>> >
>> >     source_q.subscribe do |headers, msg|
>> >       destination_ex.publish(msg)
>> >     end
>> >   end
>> >
>> >   local, remote = %w{one two}, %w{three}
>> >   localhost, remotehost = 'localhost', '192.168.0.26'
>> >
>> >   local_channel = MQ.new(AMQP.connect(:host => localhost, :logging =>
>> > false))
>> >   remote_channel = MQ.new(AMQP.connect(:host => remotehost, :logging =>
>> > false))
>> >
>> >   local.each  { |t| replicate local_channel, remote_channel, t }
>> >   remote.each { |t| replicate remote_channel, local_channel, t }
>> > end
>> >
>> >
>> > Regards,
>> > Pradeep
>> >
>> >
>> > On Wed, Jan 13, 2010 at 5:42 PM, Alexis Richardson
>> > <alexis.richardson at gmail.com> wrote:
>> >>
>> >> Seema
>> >>
>> >> It's been imminent for some time - QA in underway currently.  We hit
>> >> the usual slowdowns due to the holiday season.
>> >>
>> >> We'll be sure to let you know.
>> >>
>> >> alexis
>> >>
>> >>
>> >> On Wed, Jan 13, 2010 at 12:09 PM, Seema Biradar <
>> seemasbiradar at gmail.com>
>> >> wrote:
>> >> > Ok Thanks for the information!
>> >> >
>> >> > Please let me know when the next release is? and
>> >> > The link from where we can download the same ?
>> >> >
>> >> > Thanks again!
>> >> > Regards
>> >> > Seema
>> >> >
>> >> >
>> >> > On Wed, Jan 13, 2010 at 5:22 PM, Alexis Richardson
>> >> > <alexis.richardson at gmail.com> wrote:
>> >> >>
>> >> >> Seema
>> >> >>
>> >> >> I have just asked the team about this and learnt that Shovel was
>> taken
>> >> >> offline for a few weeks pending our next server release.  This is
>> >> >> because we wanted to make some changes to the plugin to align with
>> >> >> server changes.  Would you mind waiting a few weeks?  If you need to
>> >> >> do something quickly, then please let us know.
>> >> >>
>> >> >> Best wishes
>> >> >>
>> >> >> alexis
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >> On Wed, Jan 13, 2010 at 9:17 AM, Seema Biradar
>> >> >> <seemasbiradar at gmail.com>
>> >> >> wrote:
>> >> >> > Can you please let me know where can i download or get src for the
>> >> >> > Shove
>> >> >> > pluggin.
>> >> >> >
>> >> >> >
>> >> >> > On Tue, Jan 12, 2010 at 11:22 PM, Alexis Richardson
>> >> >> > <alexis.richardson at gmail.com> wrote:
>> >> >> >>
>> >> >> >> Seema,
>> >> >> >>
>> >> >> >> I am not the best person to answer your question in full, but:
>>  In
>> >> >> >> addition to what Pradeep said, you need to be aware that Shovel
>> is a
>> >> >> >> RabbitMQ plugin.  The plugins are described here:
>> >> >> >> http://www.rabbitmq.com/admin-guide.html#plugins
>> >> >> >>
>> >> >> >> The following talk describes a use case involving Shovel -
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> http://qconsf.com/sf2009/presentation/Open+Source+at+Unibet.com+-+10x+Scalability+at+Half+the+Cost
>> >> >> >>
>> >> >> >> And Stefan's slides are here:
>> >> >> >>
>> >> >> >> http://qconsf.com/sf2009/tracks/show_track.jsp?trackOID=301
>> >> >> >>
>> >> >> >> alexis
>> >> >> >>
>> >> >> >>
>> >> >> >> On Tue, Jan 12, 2010 at 7:18 AM, Pradeep Gatram
>> >> >> >> <pradeep.gatram at gmail.com> wrote:
>> >> >> >> > Seema,
>> >> >> >> >
>> >> >> >> > You dont have to interact with Shovel directly. Look at it this
>> >> >> >> > way
>> >> >> >> >
>> >> >> >> > p1-->R1 --> Shovel (or amqp-relay) -->R2-->C2
>> >> >> >> >
>> >> >> >> > p1 & c2 can be in any programming language. You just have to
>> >> >> >> > "configure"
>> >> >> >> > the
>> >> >> >> > Shovel/amqp-relay appropriately.
>> >> >> >> >
>> >> >> >> > Pradeep
>> >> >> >> >
>> >> >> >> > On Tue, Jan 12, 2010 at 12:30 PM, Seema Biradar
>> >> >> >> > <seemasbiradar at gmail.com>
>> >> >> >> > wrote:
>> >> >> >> >>
>> >> >> >> >> Hi,
>> >> >> >> >> Thanks for the information.
>> >> >> >> >>
>> >> >> >> >> I need one more help .
>> >> >> >> >>
>> >> >> >> >> Can you please suggest me how can we use Shovel component and
>> >> >> >> >> RabbitMQ
>> >> >> >> >> using in JAVA Programming language.
>> >> >> >> >>
>> >> >> >> >> Using JAVA as programming language (RabbitMQ Java API), how
>> can
>> >> >> >> >> we
>> >> >> >> >> make
>> >> >> >> >> use of shovel component?
>> >> >> >> >> (I am using RabbitMQ bundle for Windows )
>> >> >> >> >>
>> >> >> >> >> If any examples are there ( RabbitMQ Java API + Shovel
>> >> >> >> >> Application )
>> >> >> >> >> .please let me know.
>> >> >> >> >>
>> >> >> >> >> Thanksin adavance.
>> >> >> >> >> Seema
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >> On Mon, Jan 11, 2010 at 4:30 PM, Alexis Richardson
>> >> >> >> >> <alexis.richardson at gmail.com> wrote:
>> >> >> >> >>>
>> >> >> >> >>> Seema
>> >> >> >> >>>
>> >> >> >> >>> We have a component called Shovel that does this.  Have a
>> look
>> >> >> >> >>> at:
>> >> >> >> >>>
>> >> >> >> >>>
>> >> >> >> >>>
>> >> >> >> >>>
>> >> >> >> >>>
>> >> >> >> >>>
>> 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<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>
>> >> >> >> >>>
>> >> >> >> >>> Also, some has created a 'relay' project on Github:
>> >> >> >> >>> http://github.com/slider/amqp-relay
>> >> >> >> >>>
>> >> >> >> >>> Does this answer your question?
>> >> >> >> >>>
>> >> >> >> >>> alexis
>> >> >> >> >>>
>> >> >> >> >>>
>> >> >> >> >>> On Mon, Jan 11, 2010 at 7:21 AM, Seema Biradar
>> >> >> >> >>> <seemasbiradar at gmail.com>
>> >> >> >> >>> wrote:
>> >> >> >> >>> > Hi
>> >> >> >> >>> >
>> >> >> >> >>> > My requirement is like this
>> >> >> >> >>> >
>> >> >> >> >>> > Two instance of RabbitMQ server are running at different
>> >> >> >> >>> > IP.say
>> >> >> >> >>> > assume
>> >> >> >> >>> > P1 is a producer of rabitmq1 R1(which is in one mechine)
>> >> >> >> >>> > C2 is a cosumer of rabittmq2 R2 (which is running in
>> another
>> >> >> >> >>> > mechine),i
>> >> >> >> >>> > Is it possible  the communication flow in the following
>> >> >> >> >>> > manner,
>> >> >> >> >>> > p1-->R1-->R2-->C2
>> >> >> >> >>> >
>> >> >> >> >>> > If there small example please mail me back
>> >> >> >> >>> >
>> >> >> >> >>> > Thanks in advance
>> >> >> >> >>> > Seema
>> >> >> >> >>> >
>> >> >> >> >>> > _______________________________________________
>> >> >> >> >>> > rabbitmq-discuss mailing list
>> >> >> >> >>> > rabbitmq-discuss at lists.rabbitmq.com
>> >> >> >> >>> >
>> >> >> >> >>> >
>> >> >> >> >>> >
>> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>> >> >> >> >>> >
>> >> >> >> >>> >
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >> _______________________________________________
>> >> >> >> >> rabbitmq-discuss mailing list
>> >> >> >> >> rabbitmq-discuss at lists.rabbitmq.com
>> >> >> >> >>
>> >> >> >> >>
>> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>> >> >> >> >>
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > _______________________________________________
>> >> >> >> > rabbitmq-discuss mailing list
>> >> >> >> > rabbitmq-discuss at lists.rabbitmq.com
>> >> >> >> >
>> >> >> >> >
>> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>> >> >> >> >
>> >> >> >> >
>> >> >> >
>> >> >> >
>> >> >
>> >> >
>> >>
>> >> _______________________________________________
>> >> rabbitmq-discuss mailing list
>> >> rabbitmq-discuss at lists.rabbitmq.com
>> >> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>> >
>> >
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20100119/0dcab052/attachment.htm 


More information about the rabbitmq-discuss mailing list