Mysql broker in Java with mysql server