#!/bin/bash
# Resolve the directory of the script (handles ./, ../, and absolute paths)
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
cd "$SCRIPT_DIR" || exit 1 
PORT=8883
if [ $# -gt 0 ]
  then
  PORT=$1
fi
java -Xmx440M -cp "brokerJars/*" test.de.iip_ecosphere.platform.test.amqp.qpid.TestQpidServer $PORT $*
