At the moment when connection fails the exception is passed to fail() method that deal with the connection failure but tho exception is not propagated tot client, it's only send to exception listeners. It would be helpful if it was pass to client via returnBlocking method.
Justin Bertram <email@example.com> updated the status of jira HORNETQ-1388 to Resolved
Justin Bertram <firstname.lastname@example.org> updated the status of jira HORNETQ-1388 to Closed
This has been resolved on the 2.3.x branch of HornetQ via 7a8e2fa11670093d34290c46e804dbd1ba51504c.
Appears to be fixed by HQ upgrade to 2.3.21 https://bugzilla.redhat.com/show_bug.cgi?id=1132168. Setting to MODIFIED.
Verified in EAP 6.4.0.DR1.1