From 0f2e00e348cfb52449b43697e4987341709c8df6 Mon Sep 17 00:00:00 2001 From: Jan Vales Date: Sun, 12 May 2013 23:33:08 +0200 Subject: [PATCH] A simple script to run a small JMS Pizzeria with 2 Cooks and 2 Waiters. --- runJMS.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 runJMS.sh diff --git a/runJMS.sh b/runJMS.sh new file mode 100755 index 0000000..3496653 --- /dev/null +++ b/runJMS.sh @@ -0,0 +1,8 @@ +#!/bin/bash +mvn activemq:run & +mvn exec:java -Dexec.mainClass="at.ac.tuwien.sbc.valesriegler.pizzeria.PizzeriaAgent" -Dexec.args="JMS" & +mvn exec:java -Dexec.mainClass="at.ac.tuwien.sbc.valesriegler.group.GroupAgent" -Dexec.args="JMS" & +mvn exec:java -Dexec.mainClass="at.ac.tuwien.sbc.valesriegler.waiter.WaiterAgent" -Dexec.args="JMS 1" & +mvn exec:java -Dexec.mainClass="at.ac.tuwien.sbc.valesriegler.waiter.WaiterAgent" -Dexec.args="JMS 2" & +mvn exec:java -Dexec.mainClass="at.ac.tuwien.sbc.valesriegler.cook.CookAgent" -Dexec.args="JMS 3" & +mvn exec:java -Dexec.mainClass="at.ac.tuwien.sbc.valesriegler.cook.CookAgent" -Dexec.args="JMS 4" & -- 2.43.0