You can diagnose and fix problems with JMS bindings.
For example, an import expects only one response message for each request message. If more than one response arrives, or if a late response (one for which the SCA response expiration has expired) arrives, a Service Runtime Exception is thrown. The transaction is rolled back, and the response message is backed out of the queue or handled by the failed event manager.
The primary failure conditions of JMS bindings are determined by transactional semantics, by JMS provider configuration, or by reference to existing behavior in other components. The primary failure conditions include:
A failure to connect to the JMS provider to receive messages will result in the MDB Listener Port failing to start. This condition will be logged in the WebSphere® Application Server log. Persistent messages will remain on the destination until they are successfully retrieved (or expired).
A failure to connect to the JMS provider to send outbound messages will cause rollback of the transaction controlling the send.
A failure in the data binding or data handler causes rollback of the transaction controlling the work.
A failure to send a message causes rollback of the relevant transaction.
The import expects only one response message for each request message. Also the valid time period in which a response can be received in determined by the SCA Response Expiration qualifier on the request. When a response arrives or the expiration time is exceeded, the correlation record is deleted. If response messages arrive unexpectedly or arrive late, a Service Runtime Exception is thrown.
If SCA messages originated through a JMS interaction fail, you would expect to find these messages in the failed event manager. If such messages are not appearing in the failed event manager, ensure that the underlying SIB destination of the JMS destination has a maximum failed deliveries value greater than 1. Setting this value to 2 or more enables interaction with the failed event manager during SCA invocations for the JMS bindings.