Thanks Pavel,

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

-----Ursprüngliche Nachricht-----
Von: Pavel Moravec [mailto:[email protected]] 
Gesendet: 31 August 2012 15:07
An: [email protected]
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" <[email protected]>
> To: [email protected]
> 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: [email protected] For additional 
commands, e-mail: [email protected]


Reply via email to