ページの先頭行へ戻る
Interstage Application Server V13.0.0 GlassFish 設計・構築・運用ガイド
FUJITSU Software

10.6.3 destroy dstサブコマンド

形式

imqcmd destroy dst -t 物理格納先タイプ -n 物理格納先名


機能説明

物理格納先を削除します。


オプション

オプション名

説明

-t

物理格納先タイプを指定します。
指定可能な物理格納先タイプは、次のとおりです。

  • q : Queue

  • t : Topic

-n

物理格納先名を指定します。


戻り値

0: 正常終了
0以外: 異常終了


注意事項

物理格納先タイプがQueueの場合、物理格納先の名称にデッドメッセージキューを示す文字列「mq.sys.dmq」を指定できません。


使用例

以下のように実行します。
作成済みの物理格納先を削除してもよいかが確認されます。削除してもよい場合は、「y」を入力します。

C:\Interstage\glassfish5\mq\bin\imqcmd destroy dst -t q -n JMSQueue
Username: admin
Password:
Destroying the destination where:

------------------------------------
Destination Name    Destination Type
------------------------------------
JMSQueue            Queue

On the broker specified by:

-------------------------
Host         Primary Port
-------------------------
localhost    17696

Are you sure you want to destroy this destination? (y/n)[n] y

Successfully destroyed the destination.

/opt/FJSViaps/glassfish5/mq/bin/imqcmd destroy dst -t q -n JMSQueue
Username: admin
Password:
Destroying the destination where:

------------------------------------
Destination Name    Destination Type
------------------------------------
JMSQueue            Queue

On the broker specified by:

-------------------------
Host         Primary Port
-------------------------
localhost    17696

Are you sure you want to destroy this destination? (y/n)[n] y

Successfully destroyed the destination.