So it may be (and I haven't looked in detail) that the client doesn't wait
for the server session end response after it has itself sent an end to the
session... and then fails because SB only allows a single session per
connection (from the client's point of view this would be fine since it has
alr
> there... I'm just wondering if "rapid" closing and opening of sessions is
> leading the client to open one session before the last session has been
> fully closed on the server side, and that perhaps this is not something
> that ServiceBus is happy with...
> >
I think you are right and I should
ce Bus with SSL :-)
> > >
> > > If it works against Java QPID broker, it might be problem on the server
> > > side. Thank you for testing. I will check the logs but I am afraid I
> will
> > > not find anything useful.
> > >
> > > Kind regards, Jan
>
regards, Jan
> -Original Message-
> From: Rob Godfrey [mailto:rob.j.godf...@gmail.com]
> Sent: Friday, February 21, 2014 3:14 PM
> To: users@qpid.apache.org
> Subject: Re: JMS AMQP 1.0 SocketException for rapid session/producer open
> and close
>
> Should have guesse
but I am afraid I will
> not find anything useful.
>
> Kind regards, Jan
>
> > -Original Message-
> > From: Rob Godfrey [mailto:rob.j.godf...@gmail.com]
> > Sent: Friday, February 21, 2014 11:19 AM
> > To: users@qpid.apache.org
> > Subject: Re: JMS
odfrey [mailto:rob.j.godf...@gmail.com]
> Sent: Friday, February 21, 2014 11:19 AM
> To: users@qpid.apache.org
> Subject: Re: JMS AMQP 1.0 SocketException for rapid session/producer open
> and close
>
> On 21 February 2014 10:58, Rob Godfrey wrote:
>
> > Hi Jan,
> >
> >
On 21 February 2014 10:58, Rob Godfrey wrote:
> Hi Jan,
>
> can you confirm which broker you are testing against here?
>
> I ran the code above on trunk against the Java Broker and didn't
> immediately see an issue (though I wasn't using SSL and you appear to be,
> so I shall try that presently)
Hi Jan,
can you confirm which broker you are testing against here?
I ran the code above on trunk against the Java Broker and didn't
immediately see an issue (though I wasn't using SSL and you appear to be,
so I shall try that presently)
Thanks,
Rob
On 21 February 2014 10:35, Jan Bares wrote:
Hi,
The code bellow throws SocketException with QPID 0.26 AMQP 1.0. It works fine
with AMQP 0-10 client. When I add sleeps of 100ms before and after the close()
calls, it works. Seems like the close() method returns too early when
background threads are still not finished. The code is minimal t