You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Tom Samplonius <to...@samplonius.org> on 2007/06/22 06:43:11 UTC
Defining queue in activemq.xml
How do you define a queue in activemq.xml? I looked at the XSD and the best that I could come up with is:
<destinations>
<queue name="myqueue" />
</destinations>
But this causes a null pointer exception. It is very hard to find documentation on this type of thing. I've seen an example on the web page, but I can't find it now.
Tom
Re: Defining queue in activemq.xml
Posted by Tom Samplonius <to...@samplonius.org>.
----- "Jonas Lim" <jl...@exist.com> wrote:
> Hi Tom,
>
> Here's the link on startup destinations
>
> http://activemq.apache.org/configure-startup-destinations.html
>
> Regards,
> Jonas
Tahnks, I eventually found that page, and I linked the configuring queues page to that page.
The Wiki needs a lot of work, especially to connect different tracks of information together. For the section on security never used to tell you what the syntax is was specifying queues/topics. After much digging, I found that that magic search keyword is "wildcard", and I linked the security and wildcard pages, so it is easy to see how the topic follows.
And it is bit weird that the correct attribute is "physicalName", not "name". If you just use "name", you get a null pointer exception. There is still no documentation anywhere on what the "name" attribute means.
Tom
Re: Defining queue in activemq.xml
Posted by Jonas Lim <jl...@exist.com>.
Hi Tom,
Here's the link on startup destinations
http://activemq.apache.org/configure-startup-destinations.html
Regards,
Jonas
Tom Samplonius wrote:
> How do you define a queue in activemq.xml? I looked at the XSD and the best that I could come up with is:
>
> <destinations>
> <queue name="myqueue" />
> </destinations>
>
>
> But this causes a null pointer exception. It is very hard to find documentation on this type of thing. I've seen an example on the web page, but I can't find it now.
>
>
>
> Tom
>
>