You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Justas (JIRA)" <ji...@apache.org> on 2011/06/30 17:01:31 UTC

[jira] [Created] (CAMEL-4166) camel-smpp component prints "1" or "2" to console when sending sms messages.

camel-smpp component prints "1" or "2" to console when sending sms messages.
----------------------------------------------------------------------------

                 Key: CAMEL-4166
                 URL: https://issues.apache.org/jira/browse/CAMEL-4166
             Project: Camel
          Issue Type: Bug
          Components: camel-smpp
    Affects Versions: 2.5.0
            Reporter: Justas
            Priority: Minor


in SmppBinding.java:

if (in.getHeaders().containsKey(DATA_CODING)) {
    System.out.println("1");
    submitSm.setDataCoding((Byte) in.getHeader(DATA_CODING));
} else {
    System.out.println("2");
    submitSm.setDataCoding(configuration.getDataCoding());
}


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

        

[jira] [Updated] (CAMEL-4166) camel-smpp component prints "1" or "2" to console when sending sms messages.

Posted by "Justas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justas updated CAMEL-4166:
--------------------------

    Attachment: patch.txt

> camel-smpp component prints "1" or "2" to console when sending sms messages.
> ----------------------------------------------------------------------------
>
>                 Key: CAMEL-4166
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4166
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-smpp
>    Affects Versions: 2.6.0
>            Reporter: Justas
>            Priority: Minor
>         Attachments: patch.txt
>
>
> in SmppBinding.java:
> {code}
> if (in.getHeaders().containsKey(DATA_CODING)) {
>     System.out.println("1");
>     submitSm.setDataCoding((Byte) in.getHeader(DATA_CODING));
> } else {
>     System.out.println("2");
>     submitSm.setDataCoding(configuration.getDataCoding());
> }
> {code}

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

        

[jira] [Commented] (CAMEL-4166) camel-smpp component prints "1" or "2" to console when sending sms messages.

Posted by "Justas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13057868#comment-13057868 ] 

Justas commented on CAMEL-4166:
-------------------------------

Patch attached

> camel-smpp component prints "1" or "2" to console when sending sms messages.
> ----------------------------------------------------------------------------
>
>                 Key: CAMEL-4166
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4166
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-smpp
>    Affects Versions: 2.6.0
>            Reporter: Justas
>            Priority: Minor
>         Attachments: patch.txt
>
>
> in SmppBinding.java:
> {code}
> if (in.getHeaders().containsKey(DATA_CODING)) {
>     System.out.println("1");
>     submitSm.setDataCoding((Byte) in.getHeader(DATA_CODING));
> } else {
>     System.out.println("2");
>     submitSm.setDataCoding(configuration.getDataCoding());
> }
> {code}

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

        

[jira] [Updated] (CAMEL-4166) camel-smpp component prints "1" or "2" to console when sending sms messages.

Posted by "Justas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justas updated CAMEL-4166:
--------------------------

    Affects Version/s:     (was: 2.5.0)
                       2.6.0

> camel-smpp component prints "1" or "2" to console when sending sms messages.
> ----------------------------------------------------------------------------
>
>                 Key: CAMEL-4166
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4166
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-smpp
>    Affects Versions: 2.6.0
>            Reporter: Justas
>            Priority: Minor
>
> in SmppBinding.java:
> {code}
> if (in.getHeaders().containsKey(DATA_CODING)) {
>     System.out.println("1");
>     submitSm.setDataCoding((Byte) in.getHeader(DATA_CODING));
> } else {
>     System.out.println("2");
>     submitSm.setDataCoding(configuration.getDataCoding());
> }
> {code}

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

        

[jira] [Updated] (CAMEL-4166) camel-smpp component prints "1" or "2" to console when sending sms messages.

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp updated CAMEL-4166:
-------------------------------

    Fix Version/s: 2.7.3

> camel-smpp component prints "1" or "2" to console when sending sms messages.
> ----------------------------------------------------------------------------
>
>                 Key: CAMEL-4166
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4166
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-smpp
>    Affects Versions: 2.6.0
>            Reporter: Justas
>            Assignee: Jonathan Anstey
>            Priority: Minor
>             Fix For: 2.7.3, 2.8.0
>
>         Attachments: patch.txt
>
>
> in SmppBinding.java:
> {code}
> if (in.getHeaders().containsKey(DATA_CODING)) {
>     System.out.println("1");
>     submitSm.setDataCoding((Byte) in.getHeader(DATA_CODING));
> } else {
>     System.out.println("2");
>     submitSm.setDataCoding(configuration.getDataCoding());
> }
> {code}

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

        

[jira] [Resolved] (CAMEL-4166) camel-smpp component prints "1" or "2" to console when sending sms messages.

Posted by "Jonathan Anstey (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Anstey resolved CAMEL-4166.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.8.0

It will be in the next release (version 2.8.0).

Thanks for reporting this.

Cheers,
Jon

> camel-smpp component prints "1" or "2" to console when sending sms messages.
> ----------------------------------------------------------------------------
>
>                 Key: CAMEL-4166
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4166
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-smpp
>    Affects Versions: 2.6.0
>            Reporter: Justas
>            Assignee: Jonathan Anstey
>            Priority: Minor
>             Fix For: 2.8.0
>
>         Attachments: patch.txt
>
>
> in SmppBinding.java:
> {code}
> if (in.getHeaders().containsKey(DATA_CODING)) {
>     System.out.println("1");
>     submitSm.setDataCoding((Byte) in.getHeader(DATA_CODING));
> } else {
>     System.out.println("2");
>     submitSm.setDataCoding(configuration.getDataCoding());
> }
> {code}

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

        

[jira] [Updated] (CAMEL-4166) camel-smpp component prints "1" or "2" to console when sending sms messages.

Posted by "Justas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justas updated CAMEL-4166:
--------------------------

    Attachment: patch.txt

> camel-smpp component prints "1" or "2" to console when sending sms messages.
> ----------------------------------------------------------------------------
>
>                 Key: CAMEL-4166
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4166
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-smpp
>    Affects Versions: 2.6.0
>            Reporter: Justas
>            Priority: Minor
>         Attachments: patch.txt
>
>
> in SmppBinding.java:
> {code}
> if (in.getHeaders().containsKey(DATA_CODING)) {
>     System.out.println("1");
>     submitSm.setDataCoding((Byte) in.getHeader(DATA_CODING));
> } else {
>     System.out.println("2");
>     submitSm.setDataCoding(configuration.getDataCoding());
> }
> {code}

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

        

[jira] [Updated] (CAMEL-4166) camel-smpp component prints "1" or "2" to console when sending sms messages.

Posted by "Justas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justas updated CAMEL-4166:
--------------------------

    Description: 
in SmppBinding.java:
{code}
if (in.getHeaders().containsKey(DATA_CODING)) {
    System.out.println("1");
    submitSm.setDataCoding((Byte) in.getHeader(DATA_CODING));
} else {
    System.out.println("2");
    submitSm.setDataCoding(configuration.getDataCoding());
}
{code}


  was:
in SmppBinding.java:

if (in.getHeaders().containsKey(DATA_CODING)) {
    System.out.println("1");
    submitSm.setDataCoding((Byte) in.getHeader(DATA_CODING));
} else {
    System.out.println("2");
    submitSm.setDataCoding(configuration.getDataCoding());
}



> camel-smpp component prints "1" or "2" to console when sending sms messages.
> ----------------------------------------------------------------------------
>
>                 Key: CAMEL-4166
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4166
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-smpp
>    Affects Versions: 2.6.0
>            Reporter: Justas
>            Priority: Minor
>
> in SmppBinding.java:
> {code}
> if (in.getHeaders().containsKey(DATA_CODING)) {
>     System.out.println("1");
>     submitSm.setDataCoding((Byte) in.getHeader(DATA_CODING));
> } else {
>     System.out.println("2");
>     submitSm.setDataCoding(configuration.getDataCoding());
> }
> {code}

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

        

[jira] [Updated] (CAMEL-4166) camel-smpp component prints "1" or "2" to console when sending sms messages.

Posted by "Justas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justas updated CAMEL-4166:
--------------------------

    Attachment:     (was: patch.txt)

> camel-smpp component prints "1" or "2" to console when sending sms messages.
> ----------------------------------------------------------------------------
>
>                 Key: CAMEL-4166
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4166
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-smpp
>    Affects Versions: 2.6.0
>            Reporter: Justas
>            Priority: Minor
>         Attachments: patch.txt
>
>
> in SmppBinding.java:
> {code}
> if (in.getHeaders().containsKey(DATA_CODING)) {
>     System.out.println("1");
>     submitSm.setDataCoding((Byte) in.getHeader(DATA_CODING));
> } else {
>     System.out.println("2");
>     submitSm.setDataCoding(configuration.getDataCoding());
> }
> {code}

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

        

[jira] [Commented] (CAMEL-4166) camel-smpp component prints "1" or "2" to console when sending sms messages.

Posted by "Jonathan Anstey (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13057871#comment-13057871 ] 

Jonathan Anstey commented on CAMEL-4166:
----------------------------------------

Thanks Justas. This is already fixed in trunk. Checking now to see if it was fixed in the last release.

> camel-smpp component prints "1" or "2" to console when sending sms messages.
> ----------------------------------------------------------------------------
>
>                 Key: CAMEL-4166
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4166
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-smpp
>    Affects Versions: 2.6.0
>            Reporter: Justas
>            Assignee: Jonathan Anstey
>            Priority: Minor
>         Attachments: patch.txt
>
>
> in SmppBinding.java:
> {code}
> if (in.getHeaders().containsKey(DATA_CODING)) {
>     System.out.println("1");
>     submitSm.setDataCoding((Byte) in.getHeader(DATA_CODING));
> } else {
>     System.out.println("2");
>     submitSm.setDataCoding(configuration.getDataCoding());
> }
> {code}

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

        

[jira] [Assigned] (CAMEL-4166) camel-smpp component prints "1" or "2" to console when sending sms messages.

Posted by "Jonathan Anstey (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Anstey reassigned CAMEL-4166:
--------------------------------------

    Assignee: Jonathan Anstey

> camel-smpp component prints "1" or "2" to console when sending sms messages.
> ----------------------------------------------------------------------------
>
>                 Key: CAMEL-4166
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4166
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-smpp
>    Affects Versions: 2.6.0
>            Reporter: Justas
>            Assignee: Jonathan Anstey
>            Priority: Minor
>         Attachments: patch.txt
>
>
> in SmppBinding.java:
> {code}
> if (in.getHeaders().containsKey(DATA_CODING)) {
>     System.out.println("1");
>     submitSm.setDataCoding((Byte) in.getHeader(DATA_CODING));
> } else {
>     System.out.println("2");
>     submitSm.setDataCoding(configuration.getDataCoding());
> }
> {code}

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