there is a synchronization registered with the transaction and the ack is sent in a beforeEnd callback when the transaction commits. see: org.apache.activemq.ActiveMQMessageConsumer#ackLater
2011/9/7 SuoNayi <[email protected]>: > Hi all,how does message acknowledge reply to broker when session is > transacted? > > I have read the source code but found nothing to do if session is transacted > after messages are consumed. > > Thanks. -- http://fusesource.com http://blog.garytully.com
