JMS client applications must check the message header of all response messages for business exceptions.
For example:
// receive response message
Message receivedMessage = ((JmsProxy) getToBeInvokedUponObject().receiveMessage();
String strResponse = ((TextMessage) receivedMessage).getText();
if (receivedMessage.getStringProperty("IsBusinessException") {
// strResponse is a bussiness fault
// any api can end w/a processFaultMsg
// the call api also w/a businessFaultMsg
}
else {
// strResponse is the output message
}