On 09/09/2011 01:11 PM, Alex Kulyavtsev wrote:
On Sep 9, 2011, at 11:27 AM, Fraser Adams wrote:
It seems a very reasonable requirement to be able to provision
administratively created queues/exchanges/bindings/links etc. via broker
startup config.
Yes, it is desirable feature, especially for non-durable queues. I believe java
broker can create queues based on configuration.
... snip ...
I guess scripting qpid-config and qpid-route is one option, but it feels
inelegant and how would one trigger the script on broker start up.....
Indeed, and the script creating queues/ etc... can be called from the same
wrapper script where broker started. But there is time window when the broker
started but queues not defined yet thus client can get error "no such queue ..."
You could write a python script to create your wiring and hack init.d/qpidd to
run it whenever qpidd is started. Not elegant but perhaps effective.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]