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

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

The JSMPP web site only provides an example which sends multiple messages in 
this case: 
[SubmitLongMessageExample|http://code.google.com/p/jsmpp/source/browse/trunk/src/java/examples/org/jsmpp/examples/SubmitLongMessageExample.java]

I will check the SMPP specification how to set the long message.

> camel-smpp component doesn't support sms messages longer than 254 symbols.
> --------------------------------------------------------------------------
>
>                 Key: CAMEL-4170
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4170
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-smpp
>    Affects Versions: 2.6.0
>            Reporter: Justas
>            Assignee: Christian Müller
>
> Exception is thrown when trying to send sms messages longer than 254 
> characters. According to smpp specification:
> The short message data
> should be inserted in either
> the short_message or
> message_payload fields.
> Both fields must not be used
> simultaneously.
> Camel-smpp producer always sets short_message field.
> short_message max length is 254 octets, while message_payload can be up to 
> 64K. camel smpp producer should set the correct smmp fields according to 
> message length.

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


Reply via email to