You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2010/04/30 03:05:31 UTC

[jira] Resolved: (CAMEL-2683) Smpp component schedule delivery time should default to null

     [ https://issues.apache.org/activemq/browse/CAMEL-2683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang resolved CAMEL-2683.
---------------------------------

    Resolution: Fixed

Applied patch with thanks to Cott.

> Smpp component schedule delivery time should default to null
> ------------------------------------------------------------
>
>                 Key: CAMEL-2683
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2683
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-smpp
>    Affects Versions: 2.2.0
>            Reporter: Cott Lang
>            Assignee: Willem Jiang
>             Fix For: 2.3.0
>
>         Attachments: SmppBinding.patch
>
>
> In testing this component, I ran into a problem where the calculated SCHEDULE_DELIVERY_TIME in SmppBinding ends up off for my time zone, so all my SMS messages are delivered an hour later.  I'm not quite sure why I'm seeing this problem, it almost appears that TimeZone is not properly adjusting the raw offset for DST.
> However, in reading the SMS v3.4 spec, there's no reason to attempt to define a default delivery time of "now", because transmitting null indicates the message is to be delivered immediately.
> Therefore, it seems like SmppBinding should be updated not to attempt to set a default date of "now".  This solved my problem, and avoids any potential date miscalculations for the overwhelming majority of cases where people want the message delivered immediately.
> P.S. There is no camel-smpp Component defined in Jira. :)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.