You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by Gordon Sim <gs...@redhat.com> on 2013/03/11 10:03:30 UTC

Re: Acknowledgement from broker

On 02/19/2013 08:01 AM, sys8284 wrote:
> Hi
>
> I am sending amqp messaging using qpid 0-10 c++ messaging::send api.
>
> I am setting the "sync" parameter to "true".This blocks the call until an
> acknowledgement is received from the broker.
>
> Can we set any time limit for the blocking function ?
> Currently this is blocking until an ack is received from broker.

No, there is no support at present for a time-limited blocking there. 
However you can set heartbeats on the underlying connection that will 
ensure that a dead connection is 'noticed' within a configured time, and 
that will cause any blocked send to fail.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org