processOrder.sh

#!/bin/bash

FILE=/tmp/newOrder_$(date -I)_$$
IN=$(cat /dev/stdin)

# write file
echo "${IN}" > ${FILE}

# execute_another_app ${FILE}

exit 0