Red Hat AMQ 6
As of February 2025, Red Hat is no longer supporting Red Hat AMQ 6. If you are using AMQ 6, please upgrade: Migrating to AMQ 7.此内容没有您所选择的语言版本。
7.44. fabric:require-profile-set
Abstract
						associates requirements with the specified profile
					
Synopsis 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
fabric:require-profile-set  [
					--help
				] [
					--minimum MinInstance
				] [
					--maximum MaxInstance
				] [
					--dependsOn Dependency
				] {
					Profile
				}
Description 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
				Requirements associated with a profile are used to assess the health of the current fabric. Profile requirements are entirely passive. For example, if the number of running instances of a profile is less than the minimum or greater than the maximum, monitoring tools can be configured to indicate a problem or to trigger an alert. Otherwise, the requirements have no effect on the fabric.
			
				In Fuse IDE a green/red bar indicates what proportion of the required profile instances are currently running in the fabric.
			
				For example, to require a range of 2 to 4 running instances of the 
example-camel profile, you would enter the following command:
			karaf@root> require-profile-set --minimum 2 --maximum 4 example-camel
karaf@root> require-profile-set --minimum 2 --maximum 4 example-camel
Arguments 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
				Table 7.44, “fabric:require-profile-set Arguments” describes the command's arguments.
			
| Argument | Interpretation | 
|---|---|
 --help  | Displays the online help for this command | 
 --minimum  | The minimum number of instances of this profile expected to be running in the fabric. | 
 --maximum  | The maximum number of instances of this profile expected to be running in the fabric. | 
 --dependsOn  | The profile IDs that must be provisioned before this profile. To specify multiple profile IDs, specify this flag multiple times on the command line—for example, --dependsOn foo --dependsOn bar. | 
 Profile  | A profile ID. |