I want to read bas queue names inside the queues, have written code but which only able to read the last queue name instead of all.
Below is a code
queueList = AdminConfig.list('MQQueue', AdminConfig.getid('/Cell:' + AdminControl.getCell() + '/')).splitlines()
for queue in queueList:
print "\t" + queue +"in QueueList"
queueName = AdminConfig.showAttribute(queue, 'baseQueueName')
print queueName
The queue is reading only the last queue name from queueList, I want it to read all the base queue names present inside queues.