You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by An...@sungard.com on 2012/08/31 14:58:48 UTC

Dynamic topic/queue creation

Hi,

We have a JMS based application using ActiveMQ which we are migrating to QPid. I have successfully tested the application with QPid except for one issue. On startup I receive this warning -

14:16:02,505 WARN  Setup of JMS message listener invoker failed for destination 'ServiceCallQueue' - trying to recover. Cause: Error registering consumer: org.apache.qpid.AMQException: The name 'ServiceCallQueue' supplied in the address doesn't resolve to an exchange or a queue

If I manually add the queue to the config.xml then the warning is gone and everything works fine.

Questions:


1.       Does QPid support dynamic queue/topic creation at runtime?

2.       How do I configure QPid for dynamic queue/topic creation?

We are using QPid 0.16.

Thanks in advance,
Andrew.

Re: Dynamic topic/queue creation

Posted by Robbie Gemmell <ro...@gmail.com>.
The docs got shifted slightly after a makefile rewrite for trunk, and when
Justin updated the documentation page for the new release he must not have
noticed and so ended up pointing the links at the 'wrong' place.

I have updated the trunk makefile and moved the content for trunk (with a
redirect from the previous location) and the new 0.18 content to be in line
with previous versions so that people doing what you just did (take old
link, change version) will find it as expected.

As a result
http://qpid.apache.org/books/0.18/Programming-In-Apache-Qpid/html/index.htmlnow
works, and the link Gordon gave (which was the correct location at the
time) will not.

Robbie

On 31 August 2012 16:11, William Henry <wh...@redhat.com> wrote:

> Ack the links are broken on the main doc page:
>
>
> http://qpid.apache.org/books/0.18/Programming-In-Apache-Qpid/html/index.html
>
> This link described as HTML under:
> Documentation Archives
> Qpid Wiki converted to PDF format on 26 May 2010
>
> is for the zip file:
> http://qpid.apache.org/archives/qpid-2010-05-26.html.zip
>
> I'll open a Jira (?)
>
> William
>
> ----- Original Message -----
> > On 08/31/2012 03:07 PM, William Henry wrote:
> > > Look at the address string options:
> > >
> > > Unfortunately this link is broken:
> > >
> http://qpid.apache.org/books/0.18/Programming-In-Apache-Qpid/html/index.html
> >
> > Try:
> > http://qpid.apache.org/books/0.18/Programming-In-Apache-Qpid-Book/html/
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
> > For additional commands, e-mail: users-help@qpid.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
> For additional commands, e-mail: users-help@qpid.apache.org
>
>

Re: Dynamic topic/queue creation

Posted by William Henry <wh...@redhat.com>.
Ack the links are broken on the main doc page:

http://qpid.apache.org/books/0.18/Programming-In-Apache-Qpid/html/index.html

This link described as HTML under:
Documentation Archives
Qpid Wiki converted to PDF format on 26 May 2010

is for the zip file:
http://qpid.apache.org/archives/qpid-2010-05-26.html.zip

I'll open a Jira (?)

William

----- Original Message -----
> On 08/31/2012 03:07 PM, William Henry wrote:
> > Look at the address string options:
> >
> > Unfortunately this link is broken:
> > http://qpid.apache.org/books/0.18/Programming-In-Apache-Qpid/html/index.html
> 
> Try:
> http://qpid.apache.org/books/0.18/Programming-In-Apache-Qpid-Book/html/
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
> For additional commands, e-mail: users-help@qpid.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org


Re: Dynamic topic/queue creation

Posted by Gordon Sim <gs...@redhat.com>.
On 08/31/2012 03:07 PM, William Henry wrote:
> Look at the address string options:
>
> Unfortunately this link is broken:
> http://qpid.apache.org/books/0.18/Programming-In-Apache-Qpid/html/index.html

Try: 
http://qpid.apache.org/books/0.18/Programming-In-Apache-Qpid-Book/html/


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org


Re: Dynamic topic/queue creation

Posted by William Henry <wh...@redhat.com>.
http://qpid.apache.org/books/0.16/Programming-In-Apache-Qpid/html/index.html

Is there.

William


On Aug 31, 2012, at 8:07 AM, William Henry <wh...@redhat.com> wrote:

> Hi Andrew,
> 
> Look at the address string options:
> 
> Unfortunately this link is broken:
> http://qpid.apache.org/books/0.18/Programming-In-Apache-Qpid/html/index.html
> 
> Try this:
> https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_MRG/2/html/Programming_in_Apache_Qpid/sect-Programming_in_Apache_Qpid-Addresses-Address_String_Options.html
> 
> I know there were some addressing inconsistencies between Java and other language bindings pre 0.16, but this should be right or close enough.
> 
> William
> 
> 
> On Aug 31, 2012, at 6:59 AM, <An...@sungard.com> wrote:
> 
>> Hi,
>> 
>> We have a JMS based application using ActiveMQ which we are migrating to QPid. I have successfully tested the application with QPid except for one issue. On startup I receive this warning -
>> 
>> 14:16:02,505 WARN  Setup of JMS message listener invoker failed for destination 'ServiceCallQueue' - trying to recover. Cause: Error registering consumer: org.apache.qpid.AMQException: The name 'ServiceCallQueue' supplied in the address doesn't resolve to an exchange or a queue
>> 
>> If I manually add the queue to the config.xml then the warning is gone and everything works fine.
>> 
>> Questions:
>> 
>> 
>> 1.       Does QPid support dynamic queue/topic creation at runtime?
>> 
>> 2.       How do I configure QPid for dynamic queue/topic creation?
>> 
>> We are using QPid 0.16.
>> 
>> Thanks in advance,
>> Andrew.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
> For additional commands, e-mail: users-help@qpid.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org


Re: Dynamic topic/queue creation

Posted by William Henry <wh...@redhat.com>.
Hi Andrew,

Look at the address string options:

Unfortunately this link is broken:
http://qpid.apache.org/books/0.18/Programming-In-Apache-Qpid/html/index.html

Try this:
https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_MRG/2/html/Programming_in_Apache_Qpid/sect-Programming_in_Apache_Qpid-Addresses-Address_String_Options.html

I know there were some addressing inconsistencies between Java and other language bindings pre 0.16, but this should be right or close enough.

William


On Aug 31, 2012, at 6:59 AM, <An...@sungard.com> wrote:

> Hi,
> 
> We have a JMS based application using ActiveMQ which we are migrating to QPid. I have successfully tested the application with QPid except for one issue. On startup I receive this warning -
> 
> 14:16:02,505 WARN  Setup of JMS message listener invoker failed for destination 'ServiceCallQueue' - trying to recover. Cause: Error registering consumer: org.apache.qpid.AMQException: The name 'ServiceCallQueue' supplied in the address doesn't resolve to an exchange or a queue
> 
> If I manually add the queue to the config.xml then the warning is gone and everything works fine.
> 
> Questions:
> 
> 
> 1.       Does QPid support dynamic queue/topic creation at runtime?
> 
> 2.       How do I configure QPid for dynamic queue/topic creation?
> 
> We are using QPid 0.16.
> 
> Thanks in advance,
> Andrew.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org


AW: Dynamic topic/queue creation

Posted by An...@sungard.com.
Thanks Pavel,

Is there a way to set "create: always" globally?

-----Ursprüngliche Nachricht-----
Von: Pavel Moravec [mailto:pmoravec@redhat.com] 
Gesendet: 31 August 2012 15:07
An: users@qpid.apache.org
Betreff: Re: Dynamic topic/queue creation

Hi Andrew,
qpid uses address string syntax for that, see Programming in Apache QPID (http://qpid.apache.org/books/0.16/Programming-In-Apache-Qpid/pdf/Programming-In-Apache-Qpid.pdf), section 2.4.

For example, to create a queue and automatically delete it when the session is closed, use address string:

queueName; { create:always, delete:always, node:{type:queue }}

See above document and also https://cwiki.apache.org/confluence/display/qpid/Qpid+extensions+to+AMQP for a complete list of parameters one can declare.

Kind regards,
Pavel


----- Original Message -----
> From: "Andrew Erickson" <An...@sungard.com>
> To: users@qpid.apache.org
> Sent: Friday, August 31, 2012 2:58:48 PM
> Subject: Dynamic topic/queue creation
> 
> Hi,
> 
> We have a JMS based application using ActiveMQ which we are migrating 
> to QPid. I have successfully tested the application with QPid except 
> for one issue. On startup I receive this warning -
> 
> 14:16:02,505 WARN  Setup of JMS message listener invoker failed for 
> destination 'ServiceCallQueue' - trying to recover. Cause: Error 
> registering consumer: org.apache.qpid.AMQException: The name 
> 'ServiceCallQueue' supplied in the address doesn't resolve to an 
> exchange or a queue
> 
> If I manually add the queue to the config.xml then the warning is gone 
> and everything works fine.
> 
> Questions:
> 
> 
> 1.       Does QPid support dynamic queue/topic creation at runtime?
> 
> 2.       How do I configure QPid for dynamic queue/topic creation?
> 
> We are using QPid 0.16.
> 
> Thanks in advance,
> Andrew.
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org For additional commands, e-mail: users-help@qpid.apache.org



Re: Dynamic topic/queue creation

Posted by Pavel Moravec <pm...@redhat.com>.
Hi Andrew,
qpid uses address string syntax for that, see Programming in Apache QPID (http://qpid.apache.org/books/0.16/Programming-In-Apache-Qpid/pdf/Programming-In-Apache-Qpid.pdf), section 2.4.

For example, to create a queue and automatically delete it when the session is closed, use address string:

queueName; { create:always, delete:always, node:{type:queue }}

See above document and also https://cwiki.apache.org/confluence/display/qpid/Qpid+extensions+to+AMQP for a complete list of parameters one can declare.

Kind regards,
Pavel


----- Original Message -----
> From: "Andrew Erickson" <An...@sungard.com>
> To: users@qpid.apache.org
> Sent: Friday, August 31, 2012 2:58:48 PM
> Subject: Dynamic topic/queue creation
> 
> Hi,
> 
> We have a JMS based application using ActiveMQ which we are migrating
> to QPid. I have successfully tested the application with QPid except
> for one issue. On startup I receive this warning -
> 
> 14:16:02,505 WARN  Setup of JMS message listener invoker failed for
> destination 'ServiceCallQueue' - trying to recover. Cause: Error
> registering consumer: org.apache.qpid.AMQException: The name
> 'ServiceCallQueue' supplied in the address doesn't resolve to an
> exchange or a queue
> 
> If I manually add the queue to the config.xml then the warning is
> gone and everything works fine.
> 
> Questions:
> 
> 
> 1.       Does QPid support dynamic queue/topic creation at runtime?
> 
> 2.       How do I configure QPid for dynamic queue/topic creation?
> 
> We are using QPid 0.16.
> 
> Thanks in advance,
> Andrew.
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org