On Tue, 29 May 2018 at 19:45, akabhishek1 <[email protected]>
wrote:

> HI Robbie,
>
> Thanks a lot for details. I am able to reproduce this issue with your
> finding, i am facing same idle timeOut issue for every 10m.
>
> As MessageProducer have no internal operation which will tell us that
> MessageProducer is active or not. DO we have any library or facility
> available which will refresh MessageProducer in every 10m for idle
> scenario?
>

Since the "idling" after 10 minutes is a ServiceBus specific "feature" then
I would not expect any client library (except perhaps for those written by
Microsoft) to handle this scenario.

>
> If not available then we have to write some custom logic to handle this
> scenario.
>

Yes - I think the best option here is for you to write your own custom
logic here.  You could, for instance, write a wrapper around
MessageProducer that keeps track of the last time a message was sent and if
that time was > 10 minutes ago could close the wrapped MessageProducer and
create a new one.

-- Rob


> Please suggest your opinion !!
>
> Regards,
> Abhishek Kumar
>
>
>
>
>
> --
> Sent from:
> http://qpid.2158936.n2.nabble.com/Apache-Qpid-users-f2158936.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to