camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Müller (JIRA) <j...@apache.org>
Subject [jira] [Commented] (CAMEL-3834) SmppProducer sends incorrect data_coding parameter
Date Thu, 07 Apr 2011 20:20:06 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-3834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13017122#comment-13017122
] 

Christian Müller commented on CAMEL-3834:
-----------------------------------------

Steve, what exactly is the problem?
SmppProducer use the Alphabet [1] class from jsmpp to set the data coding parameter. The Alphabet
enum defines the values 0x00, 0x04 and 0x08. We use the Alphabet.valueOf(dataCoding) method
to set the dataCoding. If you try to set a different value than 0x00, 0x04 and 0x08, you will
get an IllegalArgumentException. So, everything looks good for me. Where do you receive the
1, 5 and 9 value?

[1] http://code.google.com/p/jsmpp/source/browse/tags/2.1.0/src/java/main/org/jsmpp/bean/Alphabet.java

Christian

> SmppProducer sends incorrect data_coding parameter
> --------------------------------------------------
>
>                 Key: CAMEL-3834
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3834
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-smpp
>    Affects Versions: 2.5.0
>            Reporter: Steve Gansemer
>            Assignee: Christian Müller
>
> The dataCoding parameter on the SMPP uri allows for a value of 0,4, or 8.  Our aggregator
expects the data_coding parameter on the SMPP request from the SmppProducer to be 0=SMSC Default
Alphabet.  However, when 0, 4, or 8 is specified for the dataCoding parameter, the actual
value sent on the smpp request is 1, 5, or 9.  It appears the MessageClass.Class1 on the GeneralDataCoding
object in SmppProducer is masking an additional 1 to the byte value.
> It seems the dataCoding parameter should allow you to specify the actual value that is
needed as defined by the SMPP Protocol specification.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message