Commande showWMQTopic

Use the showWMQTopic command to display information about a specific IBM MQ messaging provider topic.

Pour exécuter la commande, utilisez l'objet AdminTask du client de scriptage wsadmin.

[IBM i]Le client de scriptage wsadmin est exécuté depuis Qshell. Pour plus d'informations, voir "Configurer Qshell pour exécuter des scripts WebSphere Application Server".

Cette commande est valide uniquement lorsqu'elle est utilisée avec des serveurs d'applications WebSphere Application Server de version 7 et ultérieures. Ne l'utilisez pas avec des versions antérieures.

Pour obtenir la liste des commandes d'administration de fournisseur de messagerie IBM MQ disponibles, ainsi qu'une brève description de chaque commande, entrez la commande suivante à l'invite wsadmin :

print AdminTask.help('WMQAdminCommands')

Pour obtenir une aide générale sur une commande donnée, entrez la commande suivante à l'invite wsadmin :

print AdminTask.help('nom_commande')

Rôle

Use the showWMQTopic command to display all the parameters, and their values, associated with a particular IBM MQ messaging provider topic.

Remarque :
  • Si la priorité est définie sur "SPECIFIED", cela signifie qu'une priorité sous forme d'entier est définie. Cet entier est indiqué dans la propriété 'specifiedPriority'.
  • Si le délai d'expiration est défini sur "SPECIFIED", cela signifie qu'un délai d'expiration sous forme d'entier est défini. Cet entier est indiqué dans la propriété 'specifiedExpiry'.

La propriété 'targetClient' indique comment l'option useRFH2 a été spécifiée par les commandes create ou modify. La valeur "JMS" indique une valeur "true" pour useRFH2. La valeur "MQ" indique une valeur "false" pour useRFH2.

Objet cible

A IBM MQ messaging provider topic at the specific scope.

Paramètres obligatoires.

Aucun.

Paramètres optionnels

Aucun.

Exemple

  • En langage Jython :
    wsadmin>AdminConfig.getid("/Node:9994GKCNode01") 
    9994GKCNode01(cells/9994GKCNode01Cell/nodes/9994GKCNode01|node.xml#Node_1)  
    
    wsadmin>AdminTask.listWMQTopics("9994GKCNode01(cells/9994GKCNode01Cell/
    nodes/9994GKCNode01|node.xml#Node_1)") 
    topic1(cells/9994GKCNode01Cell/nodes/9994GKCNode01|resources.xml#
    MQTopic_1098737234986)
    
    wsadmin>AdminTask.showWMQTopic("topic1(cells/9994GKCNode01Cell/nodes/
    9994GKCNode01|resources.xml#MQTopic_1098737234986)") 
    {specifiedExpiry=0, priority=APPLICATION_DEFINED, decimalEncoding=Normal, 
    baseTopicName=topic1, name=topic1, readAhead=NO, brokerPubQmgr=null,  
    readAheadClose=DELIVERCURRENT, brokerPubQueue=SYSTEM.BROKER.DEFAULT.STREAM, 
    ccsid=1208, integerEncoding=Normal, useNativeEncoding=true, 
    wildcardFormat=charWildcards, expiry=APP, specifiedPriority=0, 
    jndiName=jms/t1, sendAsync=NO, 
    brokerDurSubQueue=SYSTEM.JMS.D.SUBSCRIBER.QUEUE, brokerCCDurSubQueue=null, 
    description=null, targetClient=JMS, floatingPointEncoding=IEEENormal, 
    persistence=APP, brokerVersion=V1}
  • Avec Jacl :
    wsadmin>$AdminConfig getid /Node:9994GKCNode01 
    9994GKCNode01(cells/9994GKCNode01Cell/nodes/9994GKCNode01|node.xml#Node_1)  
    
    wsadmin>$AdminTask listWMQTopics 
    9994GKCNode01(cells/9994GKCNode01Cell/nodes/9994GKCNode01|node.xml#Node_1) 
    topic1(cells/9994GKCNode01Cell/nodes/9994GKCNode01|resources.xml#
    MQTopic_1098737234986)
    
    wsadmin>$AdminTask showWMQTopic 
    topic1(cells/9994GKCNode01Cell/nodes/9994GKCNode01|resources.xml#
    MQTopic_1098737234986) 
    {specifiedExpiry=0, priority=APPLICATION_DEFINED, decimalEncoding=Normal, 
    baseTopicName=topic1, name=topic1, readAhead=NO, brokerPubQmgr=null,  
    readAheadClose=DELIVERCURRENT, brokerPubQueue=SYSTEM.BROKER.DEFAULT.STREAM, 
    ccsid=1208, integerEncoding=Normal, useNativeEncoding=true, 
    wildcardFormat=charWildcards, expiry=APP, specifiedPriority=0, 
    jndiName=jms/t1, sendAsync=NO, 
    brokerDurSubQueue=SYSTEM.JMS.D.SUBSCRIBER.QUEUE, brokerCCDurSubQueue=null, 
    description=null, targetClient=JMS, floatingPointEncoding=IEEENormal, 
    persistence=APP, brokerVersion=V1}

Icône indiquant le type de rubrique Rubrique de référence



Icône d'horodatage Dernière mise à jour: last_date
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=rmj_wmq_jmstopic_show
Nom du fichier : rmj_wmq_jmstopic_show.html