[ https://issues.apache.org/jira/browse/CAMEL-8116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14233106#comment-14233106 ]
Daniel Pocock commented on CAMEL-8116: -------------------------------------- I just added the requested unit tests and found a bug in the truncation logic, this is fixed in the same pull request. > Allow more control of message splitting policy > ---------------------------------------------- > > Key: CAMEL-8116 > URL: https://issues.apache.org/jira/browse/CAMEL-8116 > Project: Camel > Issue Type: Improvement > Components: camel-smpp > Affects Versions: 2.14.0 > Reporter: Daniel Pocock > Priority: Minor > > Currently, camel-smpp splits a long message into 140 byte SMS messages to go > over the network. This is done automatically for any long message. > Not all networks support these split messages. Some networks drop the > subsequent frames after the first, some don't delivery anything. > It would be useful to give users of the component the ability to set a > message splitting policy, e.g. to refuse to split messages and throw an > exception if a long message is encountered. This will reduce load on the > SMPP provider and may also avoid costs associated with messages that are > never delivered. -- This message was sent by Atlassian JIRA (v6.3.4#6332)