NIFI-1549: Fix JMSConsumer exception

This closes #539
This commit is contained in:
Joshi 2016-06-16 20:51:49 -07:00 committed by Oleg Zhurakousky
parent e27c2556db
commit 541bbc0932
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ public abstract class JmsConsumer extends AbstractProcessor {
final byte[] messageBody = JmsFactory.createByteArray(message);
out.write(messageBody);
} catch (final JMSException e) {
throw new ProcessException("Failed to receive JMS Message due to {}", e);
throw new ProcessException("Failed to receive JMS Message due to " + e.getMessage(), e);
}
}
});