activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <o.p.clemente...@student.lboro.ac.uk>
Subject Re: Transactions in Stomp
Date Sun, 20 Apr 2014 02:53:29 GMT
Hi, 


I was wondering what is the best practice for a transaction if I am constantly listening to
the message would it be like the following pseudo-code 


WHILE(TRUE)

{

BEGIN TRANSACTION

MESSAGE RECEIVE

ACK

COMMIT

}


or


BEGIN TRANSACTION


WHILE(TRUE)

{

MESSAGE RECEIVE

ACK

}



COMMIT

Sent from Windows Mail
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message