I didn't say 0.52.0 would change the behaviour, as it wont, just that
0.45.0 is getting on in age. Even in your updated testing there are
still multiple threads involved within the client plus the
applications. There is no guarantee your test will throw from
createTextMessage as opposed to during the send, it is a race.

On Thu, 9 Jul 2020 at 13:41, akabhishek1
<[email protected]> wrote:
>
> Hi Robbie,
>
> Thanks a lot for your reply. In our application there are multiple
> ServiceBus connection which serves for different endpoints. However we
> didn't oberserve this issue for other endpoints but we observed this issue
> for two endpoints. Yes you are are right multiple threads are envolved.
>
> However i did testing with 0.52.0 (single thread) and i can see same
> behaviour. Session.createTextMessage not throwing exception in the absence
> of connection. I think, it should throw exception in the absence of
> connection
>
> Could you please check for this issue?
> I am not sure this issue is related with our issue or not, but it could be
> related, because session is not able to idetinfy correct connection status.
>
> Please find below steps to reproduce
> this issue and attached "TestQpidSendSessionRecoverableError.java".
>
> Actual Behavior - Session successfully created text message in absence of
> connection
> Expected Behavior -  session.createTextMessage("Hello World") - should throw
> exception in the absence of connection.
>
> Steps to reproduce this issue -
> 1. Provide correct ServiceBus endpoint details
> 2. Add debug point at Line no 55  (before creating text message)
> 3. Start class in debug mode
> 5. Application should stop at debug point, and disable network
> 6. Click on resume button
>
> We can see that, class successfully created text message instead of
> connection exception. Please let us know your opinon.
>
> TestQpidSendSessionRecoverableError.java
> <http://qpid.2158936.n2.nabble.com/file/t396358/TestQpidSendSessionRecoverableError.java>
>
> Regards,
> Abhi
>
>
>
> --
> 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]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to