Issue Type: Bug Bug
Assignee: Unassigned
Components: component-jca
Created: 18/Oct/12 5:26 AM
Description:

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

Project: SwitchYard
Priority: Major Major
Reporter: Siamak Sadeghianfar
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira