I wanted to set null for messageClass in JSMPP submitShortMessage method but this connector set CLASS1 as the default value if I kept the Synapse Configuration empty.
The JSMPP submitShortMessage method's Data Encoding parameters I expected to set:
new GeneralDataCoding(Alphabet.ALPHA_DEFAULT, null, false)
The synapse configuration I tried to achieve this:
<messageClass></messageClass>
Description
Moving the issue from https://github.com/wso2-extensions/esb-connector-smpp/issues/17
I wanted to set null for messageClass in JSMPP submitShortMessage method but this connector set CLASS1 as the default value if I kept the Synapse Configuration empty.
The JSMPP submitShortMessage method's Data Encoding parameters I expected to set:
new GeneralDataCoding(Alphabet.ALPHA_DEFAULT, null, false)
The synapse configuration I tried to achieve this:
<messageClass></messageClass>
Default value is set as CLASS1 here. It should be null, if no value is provided from synapse config. https://github.com/wso2-extensions/esb-connector-smpp/blob/master/src/main/java/org/wso2/carbon/esb/connector/SMSDTO.java#L140
Steps to Reproduce
No response
Affected Version(s)
No response
OS, DB, other environment details and versions
No response
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response