I'm not familiar with libqpid-ruby1.8, but if that's roughly equivalent to the qpid_messaging rubygem, you can write Ruby code that sends QMF messages to the broker to perform the actions you desire. There is a Python class that performs these actions, and it is pretty easy to port over to Ruby - please see https://github.com/apache/qpid/blob/trunk/qpid/tools/src/py/qpidtoollibs/broker.py for more info.
HTH, Andy On Feb 25, 2013, at 1:04 PM, [email protected] wrote: > Hi, > > I usually create queues in my broker with the command: > qpid-config -a user/[email protected] add queue queue-name > > I would like to develop a ruby script to add queues to my broker. I installed > libqpid-ruby1.8, but I'm not finding the methods that I need. > > Can anyone help me? > Does anyone know which classes and methods should I use to create queues with > libqpid-ruby1.8 ? > > Thanks. > -- > Thiago Henrique > adminlinux.com.br > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
