Keep the order of buffered messages in Camel producer, see #3477

* fix bug in java sample
* doc corrections