[rabbitmq-discuss] Not able to commit channel

Simon MacMullen simon at rabbitmq.com
Thu Feb 3 09:40:00 GMT 2011

On 03/02/11 07:08, Waseem Hawaldar wrote:
> When I commit channel using statement as channel.txCommit(); I get the
> following error :
> PRECONDITION_FAILED - channel is not transactional
> Could you please tell me the solution for these.

You need to make the channel transactional first - use Channel.txSelect().

Cheers, Simon

Simon MacMullen
Staff Engineer, RabbitMQ
SpringSource, a division of VMware

More information about the rabbitmq-discuss mailing list