[openamq-dev] What does the error message "<basic_browse> not allowed in session '1' in pal ''" mean?

Anbu Selvan anbu.the.great at gmail.com
Wed Dec 26 02:34:47 CET 2007


I was trying the PAL samples given in openamq.org .

I got the strange error. I could not find any documentation for the error.
What does the error mean? Is there somewhere they are documented?
For the PAL scripts, do we have a xml-schema definition?

anbu at Ubuntu:/tmp$ uname -a
Linux Ubuntu 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686
GNU/Linux

anbu at Ubuntu:/tmp$ pal connect.pal
2007/12/26 01:29:19: gsl/4 M: <basic_browse> not allowed in session '1' in
pal ''
Compiling connect...
gcc: connect.c: No such file or directory
gcc: no input files
E: compilation failed

anbu at Ubuntu:/tmp$ cat connect.pal
<?xml?>
<pal script = "amq_pal_gen">
    <session>
        <queue_declare queue = "myqueue" />
        <queue_bind queue = "myqueue" exchange = "myexchange" />
        <basic_content size = "64000" message_id = "id-0001" />
        <basic_publish exchange = "myexchange" routing_key = "myqueue" />
        <basic_browse queue = "myqueue" />
        <basic_arrived>
            <echo>Message '$message_id' came back to us</echo>
        </basic_arrived>
        <empty>
            <echo>Message did not come back, this is bad!</echo>
        </empty>
    </session>
</pal>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openamq.org/pipermail/openamq-dev/attachments/20071226/77b013aa/attachment.htm 


More information about the openamq-dev mailing list