ensure stomp port is an int