[rabbitmq-discuss] messages delivery question

Michael Bridgen mikeb at rabbitmq.com
Mon Jul 26 09:02:22 BST 2010


> Is it possible to make the transactional channel not transactional?  
> I expect a NO answer, but better to be 100% sure than have a guess

The answer is indeed "No"; once you call tx.select, there's no going 
back.  Rightly or wrongly, that's just the way it's specified in AMQP.

--Michael


> 
> 2010/7/25 Scott Brooks <scott at beamdog.com <mailto:scott at beamdog.com>>
> 
>     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 <mailto: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
>     <mailto:rabbitmq-discuss at lists.rabbitmq.com>
>      > https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>      >
>     _______________________________________________
>     rabbitmq-discuss mailing list
>     rabbitmq-discuss at lists.rabbitmq.com
>     <mailto:rabbitmq-discuss at lists.rabbitmq.com>
>     https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
> 
> 
> 
> 
> -- 
> Linkėjimai, Best Regards
> 
> Darius Damalakas
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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