Spring, MongoDB, Producer Consumer pattern