Hello, 

is there any way to schedule some action after UnitOfWork commit is done? 
For example, I want to send an email only if the transaction is successful. 
How would I do it if a Jersey resource is wrapped with @UnitOfWork?
I could think of a workaround, where you put events in some sort of an 
EventBus, and if a request transaction is successful, then those events 
would execute. But maybe you experienced something like that and know best 
practices applicable to Dropwizard?

Thanks!

-- 
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.

Reply via email to