resource list command
The resource list command lists the available resources.
Usage notes
Use this command to list the following:
- Resources in the system that are available for export
- Resources in a specified file that are available for import
Note: This command lists all resources available in the system, including virtual file
system resources.
The resources may be used to specifically target exports and imports from one installation of AS4 Microservice to another installation.
If you do not specify any parameters and
just run the command as execute resource list
, all
resources are listed.
Environment
- Windows 2008
- Linux®
Authorization
Administrative user
Syntax
execute resource list <path_to_file.xml> <--type|-t "type1 type2"> <--wait time |-w time>
Option descriptions
- path_to_file.xml
- A file that contains resources that you want to list.
- type#
- Enables you to specify a subset of types. For example, you can
list only resources of the type
THREADPOOL
. You can specify more than one type. --wait
and-w
- Enable you to wait a prescribed period of time, in seconds, before
the request times out. If
--wait
or-w
is not used, the default value is 60 seconds. The parameters--wait
and-w
have the same usage.
Examples
- Example: Listing all resources
- This command lists all resources.
execute resource list Submitting the request... Type Name ID Destination Default Error Notification Destination fabricdestination-0001 MessageQueue DefaultErrorNotificationQueue messagequeue-0001 Org B2B Master Organization 66291f33-6a83-4be9-a105-4837fc72ee1c Org B2B System Organization 34cddac6-b8dc-4f50-925f-316024197f83 PMode Default EbHandler PMode Conformance Policy pmode-0003 PMode Default Light Client PMode Conformance Policy pmode-0002 PMode Default Minimal Client PMode Conformance Policy pmode-0001 RetryPolicy Aggressive retry policy retrypolicy-0002 RetryPolicy Default retry policy retrypolicy-0001 RetryPolicy Non-critical retry policy retrypolicy-0003 SecurityPolicy Default AS2 Security Policy as2securitypolicy-0001 ThreadPool Default 10 Threads threadpool-0001 ThreadPool Default 20 Threads threadpool-0002 ThreadPool Default 50 Threads threadpool-0003
- Example: Listing all resources of a particular type.
- This command lists all threadpool resources.
execute resource list -t ThreadPool Submitting the request... Type Name ID ThreadPool Default 10 Threads threadpool-0001 ThreadPool Default 20 Threads threadpool-0002 ThreadPool Default 50 Threads threadpool-0003