maxRate == -1 ? null
: new TokenBucketLimiterImpl(maxRate, false),
autoCommitSends && blockOnNonDurableSend,
autoCommitSends && blockOnDurableSend,
autoGroup,
groupID == null ? null : new SimpleString(groupID),
minLargeMessageSize,
channel);
addProducer(producer);