#!/bin/bash export FAIRMQ_PATH=@FAIRMQ_BIN_DIR@ SAMPLER="fairmq-ex-copypush-sampler" SAMPLER+=" --id sampler1" SAMPLER+=" --channel-config name=data,type=push,method=bind,rateLogging=0,address=tcp://*:5555,address=tcp://*:5556" xterm -geometry 80x23+0+165 -hold -e @EX_BIN_DIR@/$SAMPLER & SINK1="fairmq-ex-copypush-sink" SINK1+=" --id sink1" SINK1+=" --channel-config name=data,type=pull,method=connect,rateLogging=0,address=tcp://localhost:5555" xterm -geometry 80x23+500+0 -hold -e @EX_BIN_DIR@/$SINK1 & SINK2="fairmq-ex-copypush-sink" SINK2+=" --id sink2" SINK2+=" --channel-config name=data,type=pull,method=connect,rateLogging=0,address=tcp://localhost:5556" xterm -geometry 80x23+500+330 -hold -e @EX_BIN_DIR@/$SINK2 &