Erlang Mailing Lists

Author Message

<  RabbitMQ mailing list  ~  Tutorial of RabbitMQ Client

Guest
Posted: Tue Feb 05, 2008 12:02 am Reply with quote
Guest
Sorry if this is not the right place, but I am trying to learn how to
use the RabbitMQ client. Where is the best place to find a tutorial?
Thanks! Willem
On 4 Feb 2008, at 23:56, Tony Garnock-Jones wrote:

> Hi David,
>
> David Leadbeater wrote:
>> Sorry, I meant I'd seen the issue against ActiveMQ, it seems to work
>> quite well with rabbitmq-stomp. I also just tested it out with
>> ActiveMQ CMS using STOMP and that seems to work OK.
>
> Great news! Thanks very much!
>
> Tony
>
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss@lists.rabbitmq.com
> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss


_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post recived from mailinglist
tonyg
Posted: Tue Feb 05, 2008 12:09 am Reply with quote
User Joined: 07 Nov 2006 Posts: 199
Hi Willem,

The closest thing we have to a tutorial, if you're using Java, is
http://www.rabbitmq.com/api-guide.html. It could most certainly be
fleshed out to be more useful, so please take a look and let us know
where it's weak, so we can improve it.

If you're using .NET/C#, the equivalent is part of the User Guide,
http://www.rabbitmq.com/releases/doc/rabbitmq-dotnet-release_20080125/rabbitmq-dotnet-1.2.8025.1832-user-guide.pdf
section 2, "ApiOverview".

There's also some interesting material in chapter 3 of that PDF, which
is mostly language-neutral. Again, if you think something could be
explained better, please let us know. We're trying to make using
RabbitMQ as easy as possible.

Does anyone on the list have any good links to tutorials and
documentation about AMQP in general or RabbitMQ in particular? We could
set up a links page, if people think it's a good idea.

Regards,
Tony


Willem van Heemstra wrote:
> Sorry if this is not the right place, but I am trying to learn how to
> use the RabbitMQ client. Where is the best place to find a tutorial?
> Thanks! Willem


_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post recived from mailinglist
View user's profile Send private message MSN Messenger
Guest
Posted: Tue Feb 05, 2008 12:10 am Reply with quote
Guest
Thanks for you quick reply, Alexis

The case for us in Scotland (UK) is that we have to demo RabbitMQ to a
large group of institutions in the field of education (Schools) on
Thursday.

I have successfully installed RabbitMQ Server on a Mac OS X (10.5)
Leopard and it is up and running.

For the demo I need to show that we can put messages in a queue on one
machine and retrieve them on another machine over a network.

Any hints, tips, documentation would be much appreciated. Sorry for
raising this issue towards a deadline ;o)

Willem

(P.S. I perform magic in my spare-time, and can think of nothing more
apt than using a Rabbit as messaging software!)
On 5 Feb 2008, at 00:04, Alexis Richardson wrote:

> Willem
>
> We don't normally do this, but I would be happy to take you through a
> tutorial by phone on Friday afternoon. Please get in touch directly.
>
> alexis
>
>
> On Feb 5, 2008 12:02 AM, Willem van Heemstra
> <wvanheemstra@xs4all.nl> wrote:
>> Sorry if this is not the right place, but I am trying to learn how to
>> use the RabbitMQ client. Where is the best place to find a tutorial?
>> Thanks! Willem
>> On 4 Feb 2008, at 23:56, Tony Garnock-Jones wrote:
>>
>>> Hi David,
>>>
>>> David Leadbeater wrote:
>>>> Sorry, I meant I'd seen the issue against ActiveMQ, it seems to
>>>> work
>>>> quite well with rabbitmq-stomp. I also just tested it out with
>>>> ActiveMQ CMS using STOMP and that seems to work OK.
>>>
>>> Great news! Thanks very much!
>>>
>>> Tony
>>>
>>>
>>> _______________________________________________
>>> rabbitmq-discuss mailing list
>>> rabbitmq-discuss@lists.rabbitmq.com
>>> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>>
>>
>> _______________________________________________
>> rabbitmq-discuss mailing list
>> rabbitmq-discuss@lists.rabbitmq.com
>> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>>
>
>
>
> --
> Alexis Richardson
> +44 20 7617 7339 (UK)
> +44 77 9865 2911 (cell)
> +1 650 206 2517 (US)
>


_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post recived from mailinglist
tonyg
Posted: Tue Feb 05, 2008 12:19 am Reply with quote
User Joined: 07 Nov 2006 Posts: 199
Hi again Willem,

The examples in the Java and .NET/C# code ought, I hope, to be
sufficient for your purposes. I'd suggest looking at the following
files, depending on your client language choice:

For sending:
- in the main erlang-server-and-java-client distro:
java/test/src/com/rabbitmq/examples/SimpleProducer.java
java/test/src/com/rabbitmq/examples/SendString.java
- in the rabbitmq-dotnet distro:
src/examples/SendString.cs
src/examples/SendMap.cs

For receiving:
- in the main erlang/java distro:
java/test/src/com/rabbitmq/examples/SimpleConsumer.java
java/test/src/com/rabbitmq/examples/LogTail.java
- in the .NET/C# distro:
src/examples/LogTail.cs
src/examples/SingleGet.cs

Regards,
Tony


_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post recived from mailinglist
View user's profile Send private message MSN Messenger
Guest
Posted: Tue Feb 05, 2008 12:19 am Reply with quote
Guest
Thanks Tony,

Those links are very helpful.

I could do with a client in Java that I would know how to configure
for our simple demo (one client one server/broker).
Do I have to code this client from scratch? Are the parameters hard-
coded or read from a config file?
It is these questions that a seek answers for.

Thanks again!

Willem


On 5 Feb 2008, at 00:09, Tony Garnock-Jones wrote:

> Hi Willem,
>
> The closest thing we have to a tutorial, if you're using Java, is http://www.rabbitmq.com/api-guide.html
> . It could most certainly be fleshed out to be more useful, so
> please take a look and let us know where it's weak, so we can
> improve it.
>
> If you're using .NET/C#, the equivalent is part of the User Guide, http://www.rabbitmq.com/releases/doc/rabbitmq-dotnet-release_20080125/rabbitmq-dotnet-1.2.8025.1832-user-guide.pdf
> section 2, "ApiOverview".
>
> There's also some interesting material in chapter 3 of that PDF,
> which is mostly language-neutral. Again, if you think something
> could be explained better, please let us know. We're trying to make
> using RabbitMQ as easy as possible.
>
> Does anyone on the list have any good links to tutorials and
> documentation about AMQP in general or RabbitMQ in particular? We
> could set up a links page, if people think it's a good idea.
>
> Regards,
> Tony
>
>
> Willem van Heemstra wrote:
>> Sorry if this is not the right place, but I am trying to learn how
>> to use the RabbitMQ client. Where is the best place to find a
>> tutorial? Thanks! Willem
>
>


_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post recived from mailinglist
Guest
Posted: Tue Feb 05, 2008 12:22 am Reply with quote
Guest
Great!

That sounds promising.

Willem

On 5 Feb 2008, at 00:18, Tony Garnock-Jones wrote:

> Hi again Willem,
>
> The examples in the Java and .NET/C# code ought, I hope, to be
> sufficient for your purposes. I'd suggest looking at the following
> files, depending on your client language choice:
>
> For sending:
> - in the main erlang-server-and-java-client distro:
> java/test/src/com/rabbitmq/examples/SimpleProducer.java
> java/test/src/com/rabbitmq/examples/SendString.java
> - in the rabbitmq-dotnet distro:
> src/examples/SendString.cs
> src/examples/SendMap.cs
>
> For receiving:
> - in the main erlang/java distro:
> java/test/src/com/rabbitmq/examples/SimpleConsumer.java
> java/test/src/com/rabbitmq/examples/LogTail.java
> - in the .NET/C# distro:
> src/examples/LogTail.cs
> src/examples/SingleGet.cs
>
> Regards,
> Tony
>


_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post recived from mailinglist
tonyg
Posted: Tue Feb 05, 2008 12:24 am Reply with quote
User Joined: 07 Nov 2006 Posts: 199
Hi again,

Willem van Heemstra wrote:
> Those links are very helpful.

I'm glad. Please do point out anything in the docs that could be better.

> I could do with a client in Java that I would know how to configure for
> our simple demo (one client one server/broker).
> Do I have to code this client from scratch? Are the parameters
> hard-coded or read from a config file?
> It is these questions that a seek answers for.

I hope my other post in this thread points you toward skeletons you can
flesh out to your requirements - and with regard to the config-file
question,

1. for the Java client library, we have not implemented any particular
config-reading mechanism yet - so the answer is that the parameters
are provided however your application chooses to provide them! Smile

2. for the .NET client, we have provided the low-level, supply-your-
own-parameters approach, as well as supporting reading some of the
configuration from App.config, or from environment variables. You
may also find the WCF approach of value, if you're using WCF.

Regards,
Tony


_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post recived from mailinglist
View user's profile Send private message MSN Messenger
alexis
Posted: Tue Feb 05, 2008 12:51 am Reply with quote
User Joined: 06 Sep 2007 Posts: 80 Location: London
Willem

I'd be happy to help - feel free to call me on Wednesday after lunch
on my cell phone (077 9865 2911). In the meantime please do try to
use Tony's suggestions which I think will help you.

Re your magical inclinations .. if you are ever in London, we can show
you a trick or two...

alexis




On Feb 5, 2008 12:10 AM, Willem van Heemstra <wvanheemstra@xs4all.nl> wrote:
> Thanks for you quick reply, Alexis
>
> The case for us in Scotland (UK) is that we have to demo RabbitMQ to a
> large group of institutions in the field of education (Schools) on
> Thursday.
>
> I have successfully installed RabbitMQ Server on a Mac OS X (10.5)
> Leopard and it is up and running.
>
> For the demo I need to show that we can put messages in a queue on one
> machine and retrieve them on another machine over a network.
>
> Any hints, tips, documentation would be much appreciated. Sorry for
> raising this issue towards a deadline ;o)
>
> Willem
>
> (P.S. I perform magic in my spare-time, and can think of nothing more
> apt than using a Rabbit as messaging software!)
>
> On 5 Feb 2008, at 00:04, Alexis Richardson wrote:
>
> > Willem
> >
> > We don't normally do this, but I would be happy to take you through a
> > tutorial by phone on Friday afternoon. Please get in touch directly.
> >
> > alexis
> >
> >
> > On Feb 5, 2008 12:02 AM, Willem van Heemstra
> > <wvanheemstra@xs4all.nl> wrote:
> >> Sorry if this is not the right place, but I am trying to learn how to
> >> use the RabbitMQ client. Where is the best place to find a tutorial?
> >> Thanks! Willem
> >> On 4 Feb 2008, at 23:56, Tony Garnock-Jones wrote:
> >>
> >>> Hi David,
> >>>
> >>> David Leadbeater wrote:
> >>>> Sorry, I meant I'd seen the issue against ActiveMQ, it seems to
> >>>> work
> >>>> quite well with rabbitmq-stomp. I also just tested it out with
> >>>> ActiveMQ CMS using STOMP and that seems to work OK.
> >>>
> >>> Great news! Thanks very much!
> >>>
> >>> Tony
> >>>
> >>>
> >>> _______________________________________________
> >>> rabbitmq-discuss mailing list
> >>> rabbitmq-discuss@lists.rabbitmq.com
> >>> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
> >>
> >>
> >> _______________________________________________
> >> rabbitmq-discuss mailing list
> >> rabbitmq-discuss@lists.rabbitmq.com
> >> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
> >>
> >
> >
> >
> > --
> > Alexis Richardson
> > +44 20 7617 7339 (UK)
> > +44 77 9865 2911 (cell)
> > +1 650 206 2517 (US)
> >
>
>



--
Alexis Richardson
+44 20 7617 7339 (UK)
+44 77 9865 2911 (cell)
+1 650 206 2517 (US)

_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post recived from mailinglist
View user's profile Send private message Yahoo Messenger
wuji
Posted: Mon Sep 17, 2012 7:19 am Reply with quote
User Joined: 10 Aug 2012 Posts: 654
is too afraid to borrow the money," says Chai Ling, Ling, cheap replica designer *beep* Ling, "because she has no idea how she could pay
back." Nor does she have any guarantee the government won't won't [h4]jordan 11[/h4] won't ask for more money in the future. "That is
psychological pressure she is under," says Chai Ling. "It becomes becomes jordan concord becomes a money making operation for the government."Cao told ABC
she very much wanted to keep her baby, but she she cheap jordan shoes she was unsure of what do to. For Cao, waiting
the Saturday deadline is torture, but every moment is also also [h3]jordan concord[/h3] also precious for the expectant mother.Obama Defends Immigrant Deportation Rules
as PoliticalThe President Announces a Change Likely to Please Hispanic Hispanic cheap replica designer *beep* Hispanic VotersBy MATT NEGRIN AND PIERRE THOMASJune 15, 2012 President
View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum