Schmitt Christian

Results 94 comments of Schmitt Christian

I also have the problem that I can't kill the application via. CTRL+C if I use a host-in-host (same repo, just the host-in-host) branch. It block forever (not sure why,...

> Why do you need need to call .Stop() before the assembly is reloaded? Can you elaborate more on what problem you're encountering? Actually I need to call stop to...

This is a problem caused by the constructor: ``` @Inject MailerClient mailerClient; public EnvelopJob(Mail.Envelop envelop) { this.envelop = envelop; } ``` You can't have a noninjected constructor with a injected...

@Mogztter I wouldn't improve the documentation since that is guice specific. The only thing maybe would be a link to the Guice documentation, somewhere.

@luukjansen you should avoid `Play.application()` and yes you can Inject in **every** class, as soon as you resolve the class via an injector, you should definitly take a look at...

@Mogztter and how would you do it, I mean setting up a mailer is just: ``` scala class MyService @Inject()(mailerClient: MailerClient) { } ``` or on java: ``` java class...

@luukjansen you should **never** create a class which injects something yourself. Which means, you have something like that: ``` java public class MyController { @Inject private MyService service; public Result...

Actually you could try to create a LoggerService. Something like that: ``` java public class LoggerService { @Inject private MailerClient mailerClient; private Logger logger = new Logger(); public void warn(String...

Mostly for Content-Transfer-Encoding. Currently It's not possible to specify base64 as a content-transfer-encoding, also I'm not sure if there are any more useful headers which couldn't be specified yet, so...

@jroper even if it sounds aweful but I think maintaining a akka-mail client has benefits. Also we wouldn't need to provide a SMTP Mailer, we could drop apache-commons Mail and...