简体   繁体   中英

Rename tibco queue by command line

I been looking in google without success. I´m connected to tibco machine by console, and I would like to rename a queue name.

show queue 

Give me all the details of the queue. I would like to rename it.

AFAIK, You can't rename queues.

To achieve the same as "renaming" a queue you'd need to:

  1. disconnect consumers from the old queue
  2. create the new queue
  3. move any pending messages from the old queue to the new one
  4. create a bridge from the old q. to the new q.
  5. reconnect consumers to the new queue
  6. delete bridge and old queue when no longer referenced by any producer.

if you are in your own dev environment, just delete the old queue and create the new one (assume you don't care losing pending messages in that case)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM