Comment 3 for bug 686048

Revision history for this message
Marek Kowalski (kowalski0123) wrote :

Hi Esteve,

Thanks for your reply. Well, about sending the code I would have to ask my boss first. ;) I will get back to it.

I do know how to synchronize method calls inside my communication layer. In fact I can make every call synchronous. But, of course, I would loose on performance and it just doesn't seem elegant.
The point I was making submitting the bug reprot, was that I feel I shouldn't be forced to take care about such subtleties. In my opinion this synchronization should be managed by txAMQP itself.

Maybe AMQChannel.invoke method method should acquire() DeferredLock in case the method being called is synchronous and release() it when it's done ?

Cheers,
MK