Hi Christian, I tested the new function with version 2.12.0, it works well when sending out sms messages, but exception is thrown by SmppConsumer. I used selenium smppsim and put the option to append optional parameter in the config file as follows: DELIVERY_RECEIPT_TLV=2150/02/0076
So when smppsim startup, it will show this info 2013.09.25 14:33:36 843 INFO 1 = Delivery receipts will always have optional parameter with TLV=8528/2/0076 and when Camel smpp endpoint receives delivery receipt from smppsim, SmppConsumer will throw IllegalArgumentException as below: [pool-2-thread-3] SmppConsumer WARN Cannot create exchange. This exception will be ignored.. Caused by: [java.lang.IllegalArgumentException - No tag for: 8528] java.lang.IllegalArgumentException: No tag for: 8528 at org.jsmpp.bean.OptionalParameter$Tag.valueOf(OptionalParameter.java:308) at org.apache.camel.component.smpp.SmppBinding.createOptionalParameterByName(SmppBinding.java:161) at org.apache.camel.component.smpp.SmppBinding.createSmppMessage(SmppBinding.java:112) at org.apache.camel.component.smpp.SmppEndpoint.createOnAcceptDeliverSmExchange(SmppEndpoint.java:119) at org.apache.camel.component.smpp.SmppEndpoint.createOnAcceptDeliverSmExchange(SmppEndpoint.java:103) at org.apache.camel.component.smpp.MessageReceiverListenerImpl.onAcceptDeliverSm(MessageReceiverListenerImpl.java:70) at org.jsmpp.session.SMPPSession.fireAcceptDeliverSm(SMPPSession.java:44 5) at org.jsmpp.session.SMPPSession.access$0(SMPPSession.java:443) at org.jsmpp.session.SMPPSession$ResponseHandlerImpl.processDeliverSm(SMPPSession.java:462) at org.jsmpp.session.state.SMPPSessionBoundRX.processDeliverSm0(SMPPSessionBoundRX.java:109) at org.jsmpp.session.state.SMPPSessionBoundRX.processDeliverSm(SMPPSessionBoundRX.java:51) at org.jsmpp.session.PDUProcessTask.run(PDUProcessTask.java:81) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) Did I setup wrong or it is still an issue? Thanks, Peter -- View this message in context: http://camel.465427.n5.nabble.com/How-to-add-Vendor-Specific-Optional-Parameter-in-CamelSmppOptionalParameters-tp5737268p5740212.html Sent from the Camel - Users mailing list archive at Nabble.com.