Okay, I assume this is because of how the CommitAfter advise is applied -
when I write my own advice, I have no trouble finding methods that only
declare the annotation on the service method implementation. This method,
for example, will successfully advise service implementations even when
there'
On Mon, 01 Apr 2013 13:36:39 -0300, Michael Prescott
wrote:
How do I make @CommitAfter work outside of a normal web request?
public class PeerMessageProcessorImpl implements PeerMessageProcessor {
@Inject
private Session session;
@CommitAfter
public void receive(Message message) {
Objec
How do I make @CommitAfter work outside of a normal web request?
(By way of background, I have a web app that also receives messages that
require database work via JGroups. These aren't web requests, but I want
to use the same hibernate configuration and infrastructure if at all
possible.)
Right