Dear All, I am using AMQv5.9+camel for binding with SMSC using camel-smpp component.
I want to log Error code sent by SMSC via Negative PDU on submit message. When system receives such negative packet, org.jsmpp.extra.NegativeResponseException is thrown which I catched in camel.xml (contains my routes definations). I have gone through documentation online and found that org.jsmpp.extra.NegativeResponseException.getCommandStatus(); gives us the required code. Now I am wondering how to catch this in camel.xml file to log it into the file. -- View this message in context: http://camel.465427.n5.nabble.com/How-to-log-SMPP-error-codes-sent-by-SMSC-for-Negative-packets-tp5770661.html Sent from the Camel - Users mailing list archive at Nabble.com.