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

Martin Sustrik sustrik at imatix.com
Wed Dec 26 08:57:06 CET 2007


Hi,

The problem here is that there is no such command as basic.browse in 
AMQP, therefore PAL reports the error.

As for the documentation, have a look at openamq/common/amq_pal_doc.txt. 
Also, you can find the schema in openamq/common/amq_pal.xnf. It's not a 
standard XML schema, but it's quite straightforward IMO.

Martin

Anbu Selvan wrote:
> I was trying the PAL samples given in openamq.org <http://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>
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> openamq-dev mailing list
> openamq-dev at lists.openamq.org
> http://lists.openamq.org/mailman/listinfo/openamq-dev



More information about the openamq-dev mailing list