-
Nov 8th, 2012, 08:20 AM
#1
spring amqp examples
Hello,
I would like to launch examples which use Spring AMQP for .NET to communicate with RabbitMQ. For example, I would like to establish new connection with login and password to queue server, then create new exchange, queues and bindings and send some message to the queue. Then I'd like to receive confirmation (the other application will be listener to the queue and should confirm receipt and correctness of the data).
However, I cannot launch examplary application. I have found one download here (http://www.springsource.org/download...g%2520AMQP.NET) and it leads to spring-amqp-net-1.0.0.M1. The other is this (https://github.com/SpringSource/spri...amqp/downloads), i.e. spring-net-amqp-master.
There is also documentation (http://static.springsource.org/sprin...mple-apps.html) but it does not explain how to launch examplary application.
Launching this (spring-amqp-net-1.0.0.M1\Spring.Messaging.Amqp.2008.sln) project with Visual Studio 2010 gives me wizard to convert the solution. There are no conversion errors and there is one warning. Building solution gives 0 errors and 1037 warnings. I cannot launch it because "a project with an Output Type of Class Library cannot be started directly" (this is understandable, as it is library). I cannot find any examples in solution explorer but I can find those manually in directory spring-amqp-net-1.0.0.M1\examples\Spring.RabbitQuickStart.2008.
Opening Spring.RabbitQuickStart.2008.sln gives me the same conversion wizard (no errors, two warnings). I can build it but launching causes exception ("RabbitMQ.Client.Exceptions.OperationInterruptedE xception: The AMQP operation was interrupted: AMQP close-reason, initiated by Peer, code=403, text="ACCESS_REFUSED - operation not permitted on the default exchange", classId=50, methodId=20, cause=", spring-amqp-net-1.0.0.M1\examples\Spring.RabbitQuickStart.008\src\ Spring\Spring.RabbitQuickStart.Server\Program.cs:l ine 46).
Launching spring-amqp-net-1.0.0.M1 from Visual Studio 2008 causes error "cannot be opened because its project type is not supported by this version of the application) for all csproj files.
The other project is spring-net-amqp-master\Spring.Messaging.Amqp.2010-40.sln. I open it in Visual Studio 2010, it does not require conversion wizard. It can be built with 0 errors and 289 warnings but cannot be launched as it is library.
Launching spring-net-amqp-master\examples\Spring.RabbitQuickStart\Spring.Rab bitQuickStart.2010.sln in Visual Studio 2010 requires conversion wizard and there is conversion error.
Opening spring-net-amqp-master\Spring.Messaging.Amqp.2010-40.sln with Visual Studio 2008 cannot be done (it says it was created from newer version). Opening spring-net-amqp-master\examples\Spring.RabbitQuickStart\Spring.Rab bitQuickStart.2010.sln is unsuccesfull ("cannot be opened because its project type (.csproj) is not supported by this version").
I don't know if this project is still supported for .net. I have found this (http://forum.springframework.net/sho...t-version-dead) topic but there is no answer.
Regards!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules