Jython script to create a queue
Posted on 2011-09-14
I would like to create a new queue using jython script (in SIBus (Buses > Bus name > Destinations))
i.e, Click New, selecsts queue from destinations, identifier (give it a name (myQueue)
then assign the queue to bus member and create.
I can't find an AdminTask function that could do this. Checked AdminTask.help()
Does anyone know if there is one?
That would simplify the create statment in 1 line or so I guess.
However, I believe I would need to do something like the following but not really sure.
SID = AdminConfig.getid( '/Cell:.../Node:.../Server:server1/' )
AdminConfig.create('<queue name>', , )