qpid-proton mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomáš Šoltys <tomas.sol...@gmail.com>
Subject Re: [jira] [Commented] (PROTON-512) Possibility to set idle timeout for messenger
Date Fri, 25 Apr 2014 11:52:45 GMT

I just uploaded two patches which allow to setup idle timeout for whole

Regarding this timeout I have noticed that client terminates connection if
nothing is received from broker within given timeout value. But what I was
expecting is that broker will periodically reply with some heartbeat

Is there a way hot to enable heartbeat mechanism between client and a


2014-02-07 19:04 GMT+01:00 Rafael H. Schloming (JIRA) <jira@apache.org>:

>     [
> https://issues.apache.org/jira/browse/PROTON-512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13894785#comment-13894785]
> Rafael H. Schloming commented on PROTON-512:
> --------------------------------------------
> I would say it shouldn't necessarily do anything. Messenger is set up to
> create connections on demand, so if/when that connection is needed at some
> point in the future, e.g. the app tries to send another message, it will be
> recreated.
> Where the question gets more interesting is for subscriptions and stored
> messages. Right now there is no attempt to re-deliver stored messages after
> the first attempt, and there is also no attempt to ensure that a live
> connection exists for subscriptions with positive credit. I wouldn't think
> of this as connection retry though since I don't think we ever want to
> blindly keep connections alive without cause. What is really being being
> retried is delivery of the message or issuing credit for the subscription.
> Now if a given route has no live connection when a message needs to be
> delivered, or if a given subscription has no live connection when credit is
> granted, then we should be able to create the necessary connection on
> demand.
> > Possibility to set idle timeout for messenger
> > ---------------------------------------------
> >
> >                 Key: PROTON-512
> >                 URL: https://issues.apache.org/jira/browse/PROTON-512
> >             Project: Qpid Proton
> >          Issue Type: Bug
> >          Components: proton-c
> >    Affects Versions: 0.6
> >            Reporter: Tomas Soltys
> >              Labels: features, patch
> >             Fix For: 0.7
> >
> >
> > I would like to specify an idle timeout for a messenger which would be
> then used for all created connections. I see that there is an interface for
> pn_transport_t which is allowing it but it is not accessible from outside.
> --
> This message was sent by Atlassian JIRA
> (v6.1.5#6160)

Tomáš Šoltys
(+420) 776-843-663

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message