RabbitMQ on Linux- Get Started

28 views
Skip to first unread message

kenchia...@gmail.com

unread,
Dec 13, 2016, 4:24:51 AM12/13/16
to rabbitmq-users
Hello,

I am new to Linux & would like to use RabbitMQ. Was hoping to get tips on how to get started. I have successfully install RabbitMQ on Ubuntu 14.04, enable the management plugin. 

I would like to publish messages to the RabbitMQ Broker, but I am not sure on how to do so. I have done it before on Windows, Visual Studio, but Linux is different. I have used this tutorial in Windows and would like to replicate it on Linux, http://www.rabbitmq.com/tutorials/tutorial-three-dotnet.html . I understand that I must install the RabbitMQ.Client library but am not sure on how to do so as Visual Studio does everything for me easily. 

Hope to hear from you soon. Thank you so much! 

Karl Nilsson

unread,
Dec 13, 2016, 4:30:30 AM12/13/16
to rabbitm...@googlegroups.com
Hi,

You could try to build the tutorials in https://github.com/rabbitmq/rabbitmq-tutorials/tree/master/dotnet as they are aimed at non-windows environments. You will need to install dotnet core first: https://www.microsoft.com/net/core#linuxubuntu 

Cheers
Karl

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Karl Nilsson

Staff Software Engineer, Pivotal/RabbitMQ

kenchia...@gmail.com

unread,
Dec 13, 2016, 4:39:09 AM12/13/16
to rabbitmq-users
Hi Karl, 

Thanks so much for your prompt reply! May I know how do I use that link that you've sent me? Apologies as I am new..

So I have to download that whole repository using "git clone", install dotnet core for linux? So then I just copy the code from http://www.rabbitmq.com/tutorials/tutorial-three-dotnet.html , compile and that's it? Anything that I'm missing?

Thanks so much!

Michael Klishin

unread,
Dec 13, 2016, 5:29:02 AM12/13/16
to rabbitm...@googlegroups.com
The repo already has tutorials code for multiple languages.
Just install all dependencies using .NET Core, build and run them.
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.

rogerskenny

unread,
Dec 14, 2016, 3:06:17 AM12/14/16
to rabbitmq-users
Hello, 

Have tried to follow the steps, installed Visual Studio Code, when I tried to run "dotnet run -p EmitLog", I got "error CS0246: The type or namespac
e name 'RabbitMQ' could not be found (are you missing a using directive or an assembly reference?)" 

What am I missing? I'm guessing that I am missing the RabbitMQ Library? Any suggestions? 

Thanks so much! 

Karl Nilsson

unread,
Dec 14, 2016, 3:44:22 AM12/14/16
to rabbitm...@googlegroups.com
Hi,

Try to do a `dotnet restore` first to ensure all dependencies are available. I will update the README to include this information.

Cheers
Karl

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

rogerskenny

unread,
Dec 14, 2016, 3:54:28 AM12/14/16
to rabbitmq-users
Hi Karl,

I did that and the same error still occurs. Any other tips? 

Thanks so much!

Karl Nilsson

unread,
Dec 14, 2016, 3:57:50 AM12/14/16
to rabbitm...@googlegroups.com
What was the output of `dotnet restore`? You need to cd into the EmitLog directory first.

Cheers
Karl

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Karl Nilsson

unread,
Dec 14, 2016, 4:04:10 AM12/14/16
to rabbitm...@googlegroups.com
Ok we've updated the tutorials repository. If you pull the latest changes you should just need to run the recompile.sh script before attempting to run any of the examples.

Hope this helps.

Cheers
Karl

On 14 December 2016 at 08:57, Karl Nilsson <knil...@pivotal.io> wrote:
What was the output of `dotnet restore`? You need to cd into the EmitLog directory first.

Cheers
Karl
On 14 December 2016 at 08:54, rogerskenny <kenchia...@gmail.com> wrote:
Hi Karl,

I did that and the same error still occurs. Any other tips? 

Thanks so much!

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
--
Karl Nilsson

Staff Software Engineer, Pivotal/RabbitMQ
Reply all
Reply to author
Forward
0 new messages