[rabbitmq-discuss] messages delivery question

Scott Brooks scott at beamdog.com
Sat Jul 24 23:46:31 BST 2010


You can just call ch.TxCommit again.

Once you call ch.TxSelect(), you need to commit to complete the
transaction.  A Commit implicitly starts another transaction.

On Sat, Jul 24, 2010 at 12:28 PM, Matthew Sackman <matthew at rabbitmq.com> wrote:
> On Sat, Jul 24, 2010 at 09:10:26PM +0300, Andrius Norkaitis wrote:
>> I was reusing one channel to publish messages. Should I create two channels
>> (one transactional, one not) and reuse them or it better always create new
>> one?
>
> Better to have two channels and keep them open. At your msg rates, it's
> not so important, but generally channel creation isn't /that/ cheap an
> operation, so best to keep them open after creation.
>
> Matthew
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>


More information about the rabbitmq-discuss mailing list