On Mon, Jan 30, 2012 at 6:43 AM, andrer <aro...@gmail.com> wrote: > Thanks for the reply Taariq. > > If I try any other value I get an IllegalArgumentException with "No enum > const Alphabet with value ...". This is thrown by the jsmpp Alphabet enum > that also only caters for datacodings of 0, 4 and 8. > > In the SmppSubmitSmCommand class, the GeneralDataCoding is constructed by > using a "determinedAlphabet" variable, which is set by passing the > datacoding to Alphabet.valueOf(byte value). > > So, unless you use either a 0,4 or 8, it would appear from the SMPP camel > source that an IllegalArgumentException will always be thrown. >
So if there is an enum for that alphabet. Why do you need to use a custom value? Isn't the enum supposed to be used as it contains the only valid numbers? > Regards > Andre > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Datacoding-Alphabet-issue-in-SMPP-tp5281005p5440522.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/