WebSphere Enterprise Service Bus, Version 6.2.0 Operating Systems: AIX, HP-UX, i5/OS, Linux, Solaris, Windows


isDefaultWSRRDefinition command

Use this command to return true or false, depending on whether the specified WSRR definition is the current cell default.

Before you begin

The isDefaultWSRRDefinition command is run using the AdminTask object of the wsadmin scripting client.
  • Locate the command that starts the wsadmin scripting client: this is found in the install_root\bin directory.
  • Run the wsadmin command.
    • If the server is not running, use the -conntype none option.
    • If you are not connecting to the default profile, use the -profileName profile_name option.
Use the following command to list all the WSRR administrative commands.
wsadmin> $AdminTask help SIBXWSRRAdminCommands
Use the following command to get detailed help on a particular command.
wsadmin> $AdminTask help command_name

Syntax

$AdminTask isDefaultWSRRDefinition {-paramName paramValue ...}

Purpose

The isDefaultWSRRDefinition command returns true of false, depending on whether the specified WSRR definition is the current cell default.

Command name
isDefaultWSRRDefinition
Target
javax.management.ObjectName RegistryDefinition – the WSRR definition to be checked.
Result
java.lang.Boolean isDefault.

Parameters

-name definitionName
The name of the WSRR definition, as a string.

Example

wsadmin>$AdminTask isDefaultWSRRDefinition {-name MydefName}

Note on interactive usage

When you use a WSRR command in interactive mode, you can ignore the prompt for a Target WSRR definition, because the target WSRR definition is optional. Press Enter and you will be prompted for the Name of the WSRR definition. This allows you to enter the name. When you enter the name, you see the expected output without the error message; for example, if you enter the definition name when prompted for the target definition, you get a message similar to the following:
wsadmin>AdminTask.isDefaultWSRRDefinition('-interactive')
Check if a WSRR definition is the default  

Check if a WSRR definition is the default  

Target WSRR definition: 
Name (name): testDefinition  

Check if a WSRR definition is the default  

F (Finish) 
C (Cancel)  

Select [F, C]: [F] F 
WASX7278I: Generated command line: 
AdminTask.isDefaultWSRRDefinition('[-name testDefinition ]') 
'true'


reference Reference topic

Terms of use | Feedback


Timestamp icon Last updated: 21 June 2010


http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r2mx/topic//com.ibm.websphere.wesb620.doc/ref/rwesb_isdefWSRRdefinition.html
Copyright IBM Corporation 2005, 2010. All Rights Reserved.
This information center is powered by Eclipse technology (http://www.eclipse.org).