[rabbitmq-discuss] Questions about running .NET binaries SendString.exe, SingleGet.exe, rabbitmqclt.bat

Li, Mike Mike.Li at finra.org
Mon Sep 9 19:29:03 BST 2013


HI,
I was able to complete http://www.rabbitmq.com/tutorials/tutorial-one-python.html to tutorial-three-phython.html

When I tried using SendString and SingleGet .NET binaries, and rabbitmqctl.bat I net getting much luck.

Usage: SendString <uri> <exchange> <exchangetype> <routingkey> <message>

RabbitMQ .NET client version 3.1.5.0
Parameters:
  <uri> = "amqp://user:pass@host:port/vhost"
c:\RabbitMQ.NetClient\bin>SendString "amqp://guest:guest@localhost:5672" AMQP direct hello test123
or
c:\RabbitMQ.NetClient\bin>SendString "amqp://guest:guest@127.0.0.1:5672" AMQP direct hello test123

But no message in the hello queue found.

Manually added message via Queue > hello > Publish message (and added messages using steps in tutorial-one-python.html)

Tried getting the message failed also:
c:\RabbitMQ.NetClient\bin>singleget "amqp://guest:guest@127.0.0.1:5672/" hello

Closing connection Connection(992db2cd-21e1-4bf7-b08a-f522a18e9a63,amqp-0-9://127.0.0.1:5672) with reason AMQP close-reason, initiated by Library, code=200, text="AutoClose", classId=0, methodId=0, cause=

Unhandled Exception: RabbitMQ.Client.Exceptions.OperationInterruptedException: T
he AMQP operation was interrupted: AMQP close-reason, initiated by Peer, code=40
6, text="PRECONDITION_FAILED - parameters for queue 'hello' in vhost '/' not equ
ivalent", classId=50, methodId=10, cause=
   at RabbitMQ.Client.Impl.SimpleBlockingRpcContinuation.GetReply()
   at RabbitMQ.Client.Impl.ModelBase.QueueDeclare(String queue, Boolean passive,
Boolean durable, Boolean exclusive, Boolean autoDelete, IDictionary arguments)
   at RabbitMQ.Client.Impl.ModelBase.QueueDeclare(String queue, Boolean durable,
Boolean exclusive, Boolean autoDelete, IDictionary arguments)
   at RabbitMQ.Client.Examples.SingleGet.Main(String[] args)


Network              Overview
Name    Protocol               Client    From client         To client               Timeout               Channels             User name          State
127.0.0.1:56659                 AMQP 0-9-1       Pika Pytho... / Python 2.7...0.9.13             0B/s(477B total)                0B/s(839B total)                 600s       1              guest
running

Name    File descriptors (?)           Socket descriptors (?)    Erlang processes              Memory              Disk space           Uptime                 Type
rabbit at 2UA0480ZK0      unknown
3
7280 available

213
1048576 available

22.8MB
819.2MB high watermark

44.3GB
953.7MB low watermark
                2d 23h   Disc Stats *

C:\Program Files (x86)\RabbitMQ Server\rabbitmq_server-3.1.5\sbin>rabbitmqctl li
st_queues
Listing queues ...
Error: unable to connect to node rabbitmqctl1765387 at 2UA0480ZK0: nodedown

DIAGNOSTICS
===========

nodes in question: [rabbitmqctl1765387 at 2UA0480ZK0]

hosts, their running nodes and ports:
- 2UA0480ZK0: [{rabbit,65201},{rabbitmqctl572059,56762}]

current node details:
- node name: rabbitmqctl572059 at 2UA0480ZK0
- home dir: F:\
- cookie hash: WS55vwJzesUiy9buyfOeTw==

Please advise.


Confidentiality Notice:  This email, including attachments, may include non-public, proprietary, confidential or legally privileged information.  If you are not an intended recipient or an authorized agent of an intended recipient, you are hereby notified that any dissemination, distribution or copying of the information contained in or transmitted with this e-mail is unauthorized and strictly prohibited.  If you have received this email in error, please notify the sender by replying to this message and permanently delete this e-mail, its attachments, and any copies of it immediately.  You should not retain, copy or use this e-mail or any attachment for any purpose, nor disclose all or any part of the contents to any other person. Thank you

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130909/41406dab/attachment.htm>


More information about the rabbitmq-discuss mailing list