diff --git a/messaging_components/clients/external/java/command/java_commands.py b/messaging_components/clients/external/java/command/java_commands.py index 8402ea9..cec2878 100644 --- a/messaging_components/clients/external/java/command/java_commands.py +++ b/messaging_components/clients/external/java/command/java_commands.py @@ -22,7 +22,7 @@ def __init__(self, stdout: bool=False, stderr: bool=False, self.connection = JavaConnectionOptionsCommon() def main_command(self) -> list: - return ['java', '-jar', 'cli-qpid.jar', 'connector'] + return ['cli-qpid-connector'] class JavaReceiverClientCommand(ReceiverClientCommand): @@ -40,7 +40,7 @@ def __init__(self, stdout: bool=False, stderr: bool=False, self.connection = JavaConnectionOptionsCommon() def main_command(self) -> list: - return ['java', '-jar', 'cli-qpid.jar', 'receiver'] + return ['cli-qpid-receiver'] class JavaSenderClientCommand(SenderClientCommand): @@ -57,4 +57,4 @@ def __init__(self, stdout: bool=False, stderr: bool=False, self.connection = JavaConnectionOptionsCommon() def main_command(self) -> list: - return ['java', '-jar', 'cli-qpid.jar', 'sender'] + return ['cli-qpid-sender']