Class IBMClientCommons
java.lang.Object
org.mule.jms.commons.internal.common.IBMClientCommons
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisConnectionBrokenException(Throwable throwable) We are checking for IBM-MQ connection broken exception and the reason code for the same is 2009 because the customer encountered a condition where it was not reconnecting after getting 2009.
-
Constructor Details
-
IBMClientCommons
public IBMClientCommons()
-
-
Method Details
-
isConnectionBrokenException
We are checking for IBM-MQ connection broken exception and the reason code for the same is 2009 because the customer encountered a condition where it was not reconnecting after getting 2009.Haven't found a specific source to verify the format of the message contained in MQException or JmqiException. But after checking a lot of logs online the following format seems to be prevalent.
MQException - "com.ibm.mq.MQException: JMSCMQ0001: IBM MQ call failed with compcode '2' ('MQCC_FAILED') reason '2009' ('MQRC_CONNECTION_BROKEN')."
JmqiException - "com.ibm.mq.jmqi.JmqiException: CC=2;RC=2009;AMQ9208: Error on receive from host 'hostname'."
- Parameters:
throwable-- Returns:
-