I found the solution here: https://github.com/dropwizard/dropwizard/issues/1094
My stackoverflow question and code in GitHub is updated. I hope it will be useful for someone. -- You received this message because you are subscribed to the Google Groups "dropwizard-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
