Products | Versions |
---|---|
TIBCO Adapter SDK | - |
Not Applicable | - |
Resolution:
MExecptionEvent is a special MEvent subclass that is dispatched during exception conditions when an exception cannot be thrown. Currently, the SDK dispatches this event when it receives a message that is not of the type RVMSG_RVMSG.
In other words, the adapter is expecting a nested RV message from another SDK based adapter. So it generates MExceptionEvent rather than MDataEvent when it receives a plain RV message (probably from a RV API based application).
To access the subject and confirmation method, you will have to change the subscriber to a "rvMsg" format subscriber in the configuration, or call MSubscriber::validateMessage(false) for SDK 4 or set MRvEndpointSpec..messageFormat=M_RV_MESSAGE_FORMAT for SDK 5 in the code. A "rvMsg" subscriber will dispatch MDataEvent upon receipt of a plain RV message (non-nested).