mirror of https://github.com/apache/activemq.git
Merge pull request #305 from amarkevich/AMQ-7069
AMQ-7069 HTTP client don't handle XStream deserialization exception
This commit is contained in:
commit
f7b08713f3
|
@ -201,7 +201,7 @@ public class HttpClientTransport extends HttpTransportSupport {
|
|||
}
|
||||
stream.close();
|
||||
}
|
||||
} catch (IOException e) {
|
||||
} catch (Exception e) { // handle RuntimeException from unmarshal
|
||||
onException(IOExceptionSupport.create("Failed to perform GET on: " + remoteUrl + " Reason: " + e.getMessage(), e));
|
||||
break;
|
||||
} finally {
|
||||
|
|
Loading…
Reference in New Issue