Reported by pieterh (1221557652|%O ago)
To reproduce, make this PAL script (testit.pal):
<?xml?> <pal script = "amq_pal_gen" > <session> <queue_declare queue = "myqueue-client" /> <queue_bind queue = "myqueue-client" exchange = "amq.topic" routing_key = "foo.bar.baz" /> </session> </pal>
and build using 'pal testit'. Then start the server, and run 'testit' in a second window. Then run the shell as follows:
amq_shell -e "ls queue"
The last_routing_key is empty, it should be "foo.bar.baz".
A second problem this test shows is that the shell blocks for five seconds, trying to resolve the client "0" (a bogus IP address, since there are no clients connected to the queue). The wait can be eliminated using the -a option on amq_shell, but it should not wait anyhow.
No files attached to this page.