JMSProcessor [1] should close the connection and session in finally block only if they are initialized.
Currently when an exception is thrown during connection creation, connection and session won't be initialized and a NullPointerException will be thrown in the finally block. Therefore the original exception won't appear in the logs.
The same applies to CCIProcessor.
[1] https://github.com/jboss-switchyard/components/blob/master/jca/src/main/java/org/switchyard/component/jca/processor/JMSProcessor.java#L131
|