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.8. fabric:container-connect, container-connect
Abstract
connects to a remote Fabric Container and execute the specified command
Synopsis 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
fabric:container-connect
[
--help
] [[
-u
] | [
--username
]User
] [[
-p
] | [
--password
]Password
] {
ContainerName
} [
Command
]
Description 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
This command allows you to connect to any container in the current fabric and execute a command. For example, to execute the osgi:list command on the
root2
container, you could enter a console command like Example 7.1, “Executing a Command in a Remote Container”.
Example 7.1. Executing a Command in a Remote Container
JBossA-MQ:karaf@root> fabric:container-connect -u YourName -p YourPass root2 osgi:list
JBossA-MQ:karaf@root> fabric:container-connect -u YourName -p YourPass root2 osgi:list
This command uses fabric JAAS security to log into the container, so the username and password are managed by the container's JAAS realm.
Arguments 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
Table 7.8, “fabric:container-connect Arguments” describes the command's arguments.
Argument | Interpretation |
---|---|
--help | Displays the online help for this command |
-u, --username | Specifies the username for logging on to the remote container. The default is admin . |
-p, --password | SPecifies the password for logging on to the remote container. The default is admin . |
ContainerName | Specifies the name of the remote container. |
Command | Specifies the console command to execute on the remote container. |