getWSN_SIBWSInboundService command
Use the getWSN_SIBWSInboundService command to retrieve a reference to an inbound service that is associated with a Version 6.1 WS-Notification service.
To run the command, use the AdminTask object of the wsadmin scripting client.
The wsadmin scripting client is run from Qshell.
For more information, see Configuring Qshell to run WebSphere scripts using wsadmin scripting.
Command-line help is provided for service integration bus commands:
- For a list of the available WS-Notification commands, plus a brief description of
each command, enter the following command at the wsadmin prompt:
print AdminTask.help('WSNotificationCommands')
- For overview help on a given command, enter the following command at the wsadmin
prompt:
print AdminTask.help('command_name')
Purpose
This command retrieves a reference to a specified service integration bus inbound service associated with a Version 6.1 WS-Notification service. Only use this command with Version 6.1 WS-Notification services. There are no bus-enabled inbound services associated with a Version 7.0 WS-Notification service.
Target object
WSNService
Required parameters
- -type
- The type of inbound service to retrieve. Valid options are:
- BROKER (notification broker)
- SUB_MGR (subscription manager)
- PUB_REG_MGR (publisher registration manager)
Conditional parameters
None.
Optional parameters
None.
Example
Retrieve a reference to the notification broker inbound service from the Version 6.1 WS-Notification service newService created in the example from topic "Creating a new WS-Notification service by using the wsadmin tool":
brokerInboundService = AdminTask.getWSN_SIBWSInboundService(newService, ["-type", "BROKER"] )