The defaults might be a bit cleaner if you were to actually create a RabbitMQConsumerConfig object that had getters/setters for the various fields you expect to be set.  Then you can just set the default values on the class and do the initialization by calling the appropriate getters (or, you could have a connect() method on the Config which does the initialization).