I'm getting below Exception in logs when message type is getting changed from source (from queue which they are listening) . So they want to trigger a alert(email) whenever there is a change in message type.
com.pega.pegarules.pub.PRException: Expecting a BytesMessage, received a message of type: com.ibm.jms.JMSTextMessage
STEPS TO REPRODUCE
Want to trigger an alert(email) when ever there is a change in the message type in logs.
There is a way to notify whenever there is a exception at listener port level but of that user need to configure on more queue to get those failed message.
But in our case they want to get email whenever there is a exception at listener port level.