For Q1, I just checked the camel-smpp code, it just pass the message header 
setting to 
Maybe you doesn’t set the header rightly. Please take a look at this[1]

For Q2, please fill feel to create JIRA[2] and submit you patch for it.

[1]http://camel.apache.org/using-getin-or-getout-methods-on-exchange.html
[2]http://issues.apache.org/jira/browse/CAMEL

--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On October 28, 2014 at 9:09:32 PM, hanusto (hanu...@gmail.com) wrote:
> Hello,
>  
> I have two questions for SMPP camel component:
>  
> 1) how to set valid period as relative ? It can be defined in absolute time
> format or relative time format if you provide it as String as specified in
> chapter 7.1.1 in the smpp specification v3.4. in format "000001000000000R"
> as one day:
>  
> exchange.getIn().setHeader(SmppConstants.VALIDITY_PERIOD,
> constant("000001000000000R"));
>  
> but in packet trace I see deafult value because this format is incorrect,
> probably, but exactly based upon specification. Maybe bug?
>  
> 2) I would like to send push sms (m-notification-ind PDU type). As content
> of message (exchange.getIn().setBody()) I am sending byte array as whole
> message with UDHI segment. Data coding schema is "Octet unspecified (8-bit
> binary) (0x04)". Problem is that SMPP component calculates length of message
> and EsmClass is configured in right way only if length is greater than 140
> number of bytes.
>  
> In SmppSubmitSmCommand:
> template.setEsmClass(new ESMClass(MessageMode.DEFAULT,
> MessageType.DEFAULT,
> GSMSpecificFeature.UDHI).value());
>  
> I think that message size is not related to UDHI and therefore why is
> splitted and after that if segments is more than one, EmsClass with UDHI is
> configured properly?
>  
> Please, is here any solution how to send m-notification-ind PDU type? As hot
> fix I checkout SMPP camel component and use custom modification of this
> behaviour.
>  
> Thanks,
> Tomas
>  
>  
>  
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/SMPP-component-and-problem-with-valid-period-relative-and-data-message-tp5758217.html
>   
> Sent from the Camel - Users mailing list archive at Nabble.com.
>  

Reply via email to