Forum » Hidden / Per page discussions » Basic use of OpenAMQ
started by: Automatic
on: 1212707440|%e %b %Y, %H:%M %Z|agohover
number of posts: 4
rss icon RSS: new posts
This is the discussion related to the wiki page Basic use of OpenAMQ.
amq_client output
agnessaagnessa 1223155402|%e %b %Y, %H:%M %Z|agohover

could you please post the lines that come as valid amq_client output? I'm having problems running open amq on my machine and I'm not even sure if amq_client works properly, what I get is:

agnessa@jesion:~/queue_test> amq_client
23:01:16: I: opened 1 connection to OpenAMQ Server/1.2c4
23:01:16: I: (1) sending 1 messages to server…

and that's it, I'm not sure yet how to check whether the message actually gets sent at all. I suspect there should be additional output saying it's been read.

unfold amq_client output by agnessaagnessa, 1223155402|%e %b %Y, %H:%M %Z|agohover
Re: amq_client output
pieterhpieterh 1223243855|%e %b %Y, %H:%M %Z|agohover

WireAPI has some trace options you can enable in amq_client, like this:

amq_client -t 1

You can also debug what's happening at the server side:

amq_server --trace 1 --debug_route 1
unfold Re: amq_client output by pieterhpieterh, 1223243855|%e %b %Y, %H:%M %Z|agohover
Re: amq_client output
kirmamrkirmamr 1225392273|%e %b %Y, %H:%M %Z|agohover

OK, I had the same issue. So I turned up trace and debug and saw interaction between the client and the server. So that tells me it's working.

But back to the original post, how does one know a priori their installation is good when there seems to be no 'cause-and-effect' interaction when the client and server are used in their default state, as suggested by this web page? This page tells us what should occur but doesn't say what to look for or how (if we're supposed to turn on tracing).

Thanks,
-Kirk

unfold Re: amq_client output by kirmamrkirmamr, 1225392273|%e %b %Y, %H:%M %Z|agohover
Re: amq_client output
pieterhpieterh 1225447092|%e %b %Y, %H:%M %Z|agohover

These are good points. The amq_client is not the ideal tool for starting with. Probably the best thing would be a basic test series that people can run after installation to confirm that the server is working properly. Could you post the request via the "submit issue" function on the main www.openamq.org page?

unfold Re: amq_client output by pieterhpieterh, 1225447092|%e %b %Y, %H:%M %Z|agohover
new post