-
1. Re: The code about transaction send in 2.3.0.Final
guangquanhao Oct 24, 2013 5:18 AM (in response to guangquanhao)ClientProducerInternal producer = new ClientProducerImpl(this,
address,
maxRate == -1 ? null
: new TokenBucketLimiterImpl(maxRate, false),
autoCommitSends && blockOnNonDurableSend,
autoCommitSends && blockOnDurableSend,
autoGroup,
groupID == null ? null : new SimpleString(groupID),
minLargeMessageSize,
channel);
Just now,I find the code above.It will add the transaction parameters(autoCommitSend) to the result of blockOnNonDurableSend and blockOnDurable.
-
2. Re: The code about transaction send in 2.3.0.Final
clebert.suconic Oct 24, 2013 10:03 AM (in response to guangquanhao)We block when you commit... commit will block until all the previous sent messages are finished.