Hi Tim,
I was doing testing and found that Session.createTextMessage not throwing
exception in the absence of connection. 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 find attached log "ApplicationLog.txt".
TestQpidSendSessionRecoverableError.java
<http://qpid.2158936.n2.nabble.com/file/t396358/TestQpidSendSessionRecoverableError.java>
ApplicationLog.txt
<http://qpid.2158936.n2.nabble.com/file/t396358/ApplicationLog.txt>
I think this issue is related with our issue. Could you please take a look
on this issue and suggest some solution.
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]