This is logic moved from the old HttpMessageReceiver. It seems it should always be MessagingException but looking at the code it may be possible that is not. I would leave it like this since there's no logic change here and  also considering that we are going to redo http for mule in the near future.