From 102cab00ea50a757a06bea854d910f255fea61a4 Mon Sep 17 00:00:00 2001 From: Fernando Giorgetti Date: Thu, 31 Jan 2019 15:04:38 -0200 Subject: [PATCH] UPD(issue #12) - Updated main commands for Java QPID clients --- .../clients/external/java/command/java_commands.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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']