mirror of
https://github.com/apache/activemq.git
synced 2025-02-18 07:56:20 +00:00
AMQ-7069 HTTP client don't handle XStream deserialization exception
This commit is contained in:
parent
a311139bfe
commit
b830894e69
@ -204,7 +204,7 @@ public class HttpClientTransport extends HttpTransportSupport {
|
|||||||
}
|
}
|
||||||
stream.close();
|
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));
|
onException(IOExceptionSupport.create("Failed to perform GET on: " + remoteUrl + " Reason: " + e.getMessage(), e));
|
||||||
break;
|
break;
|
||||||
} finally {
|
} finally {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user