Leave all the parameters as default except the encoding which should be set to 
UTF-16BE.


Best Regards,
Sergey Zhemzhitsky
Phone. +7 495 2580500 ext. 1246


-----Original Message-----
From: fclose [mailto:f...@closebase.com] 
Sent: Tuesday, February 26, 2013 2:25 PM
To: users@camel.apache.org
Subject: Re: Camel smpp special characters for sending sms

Something strange if I try with alphabet = 8 and *dataCoding =  3*

I have an IllegalArgumentException 

java.lang.IllegalArgumentException: *No enum const Alphabet with value 3*


bug ?



2013-02-26 11:19:49,386 ERROR [Camel (camel-1) thread #15 - 
JmsConsumer[immediatesms]] o.a.c.p.DeadLetterChannel [CamelLogger.java:215] 
Failed delivery for (MessageId: ID:3B4H5R1-56977-1361873931177-21:1:2:1:1 on
ExchangeId: ID-3B4H5R1-56949-1361873923297-0-11). Exhausted after delivery
attempt: 2 caught: java.lang.IllegalArgumentException: No enum const Alphabet 
with value 3. Processed by failure processor:
sendTo(Endpoint[jms://queue:DL-immediateSms] InOnly)
        at org.jsmpp.bean.Alphabet.valueOf(Alphabet.java:85)
~[org.apache.servicemix.bundles.jsmpp-2.1.0_4.jar:na]
        at
org.apache.camel.component.smpp.SmppSmCommand.determineAlphabet(SmppSmCommand.java:108)
~[camel-smpp-2.10.3.jar:2.10.3]
        at
org.apache.camel.component.smpp.SmppSmCommand.getShortMessage(SmppSmCommand.java:61)
~[camel-smpp-2.10.3.jar:2.10.3]
        at
org.apache.camel.component.smpp.SmppSubmitSmCommand.createSubmitSm(SmppSubmitSmCommand.java:93)
~[camel-smpp-2.10.3.jar:2.10.3]
        at
org.apache.camel.component.smpp.SmppSubmitSmCommand.execute(SmppSubmitSmCommand.java:45)
~[camel-smpp-2.10.3.jar:2.10.3]
        at
org.apache.camel.component.smpp.SmppProducer.process(SmppProducer.java:139)
~[camel-smpp-2.10.3.jar:2.10.3]
        at
org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)
~[camel-core-2.10.3.jar:2.10.3]
        at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
[camel-core-2.10.3.jar:2.10.3]
        at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
[camel-core-2.10.3.jar:2.10.3]



--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-smpp-special-characters-for-sending-sms-tp5728152p5728163.html
Sent from the Camel - Users mailing list archive at Nabble.com.

_______________________________________________________
CONFIDENTIALITY NOTICE: This email and any files attached to it may be 
confidential. If you are not the intended recipient you are notified that 
using, copying, distributing or taking any action in reliance on the contents 
of this information is strictly prohibited. If you have received this email in 
error please notify the sender and delete this email. 

Reply via email to