You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Peter Salnikov (JIRA)" <ji...@apache.org> on 2012/10/17 09:50:02 UTC

[jira] [Created] (CAMEL-5708) Make camel-smpp component get username from parameters instead of address

Peter Salnikov created CAMEL-5708:
-------------------------------------

             Summary: Make camel-smpp component get username from parameters instead of address
                 Key: CAMEL-5708
                 URL: https://issues.apache.org/jira/browse/CAMEL-5708
             Project: Camel
          Issue Type: Wish
          Components: camel-smpp
            Reporter: Peter Salnikov
            Priority: Minor


Currently camel-smpp component gets username from address part of an uri
username@hostname
it's no ok when username is empty, because in that case I can't configure URI from properties

<inOnly uri="smpp://{{smpp.username}}@{{smpp.address}}?password={{smpp.password}}"/>

It will be more convenient and standard based if username will be passed via options:

<inOnly uri="smpp://{{smpp.address}}?username={{smpp.username}}&amp;password={{smpp.password}}"/>

in that case it will be easy and readable to put value to options file:

smpp.address=127.0.0.1:2775
smpp.username=
smpp.password=
smpp.from=3113

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (CAMEL-5708) Make camel-smpp component get username from parameters instead of address

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

Christian Müller reassigned CAMEL-5708:
---------------------------------------

    Assignee: Christian Müller
    
> Make camel-smpp component get username from parameters instead of address
> -------------------------------------------------------------------------
>
>                 Key: CAMEL-5708
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5708
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-smpp
>    Affects Versions: 2.10.1
>            Reporter: Peter Salnikov
>            Assignee: Christian Müller
>            Priority: Minor
>             Fix For: 2.11.0
>
>
> Currently camel-smpp component gets username from address part of an uri
> username@hostname
> it's no ok when username is empty, because in that case I can't configure URI from properties
> <inOnly uri="smpp://{{smpp.username}}@{{smpp.address}}?password={{smpp.password}}"/>
> It will be more convenient and standard based if username will be passed via options:
> <inOnly uri="smpp://{{smpp.address}}?username={{smpp.username}}&amp;password={{smpp.password}}"/>
> in that case it will be easy and readable to put value to options file:
> smpp.address=127.0.0.1:2775
> smpp.username=
> smpp.password=
> smpp.from=3113

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CAMEL-5708) Make camel-smpp component get username from parameters instead of address

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

Peter Salnikov updated CAMEL-5708:
----------------------------------

    Affects Version/s: 2.10.1
    
> Make camel-smpp component get username from parameters instead of address
> -------------------------------------------------------------------------
>
>                 Key: CAMEL-5708
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5708
>             Project: Camel
>          Issue Type: Wish
>          Components: camel-smpp
>    Affects Versions: 2.10.1
>            Reporter: Peter Salnikov
>            Priority: Minor
>
> Currently camel-smpp component gets username from address part of an uri
> username@hostname
> it's no ok when username is empty, because in that case I can't configure URI from properties
> <inOnly uri="smpp://{{smpp.username}}@{{smpp.address}}?password={{smpp.password}}"/>
> It will be more convenient and standard based if username will be passed via options:
> <inOnly uri="smpp://{{smpp.address}}?username={{smpp.username}}&amp;password={{smpp.password}}"/>
> in that case it will be easy and readable to put value to options file:
> smpp.address=127.0.0.1:2775
> smpp.username=
> smpp.password=
> smpp.from=3113

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CAMEL-5708) Make camel-smpp component get username from parameters instead of address

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

Claus Ibsen updated CAMEL-5708:
-------------------------------

           Fix Version/s: 2.11.0
    Estimated Complexity: Novice  (was: Unknown)
              Issue Type: Improvement  (was: Wish)
    
> Make camel-smpp component get username from parameters instead of address
> -------------------------------------------------------------------------
>
>                 Key: CAMEL-5708
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5708
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-smpp
>    Affects Versions: 2.10.1
>            Reporter: Peter Salnikov
>            Priority: Minor
>             Fix For: 2.11.0
>
>
> Currently camel-smpp component gets username from address part of an uri
> username@hostname
> it's no ok when username is empty, because in that case I can't configure URI from properties
> <inOnly uri="smpp://{{smpp.username}}@{{smpp.address}}?password={{smpp.password}}"/>
> It will be more convenient and standard based if username will be passed via options:
> <inOnly uri="smpp://{{smpp.address}}?username={{smpp.username}}&amp;password={{smpp.password}}"/>
> in that case it will be easy and readable to put value to options file:
> smpp.address=127.0.0.1:2775
> smpp.username=
> smpp.password=
> smpp.from=3113

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-5708) Make camel-smpp component get username from parameters instead of address

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

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

IMO, it would be a  good addition to be able to override the systenId (user name) and password provided in the endpoint url with message headers.

I do not see any advantage to change the way how the systenId (user name) is configured in the url. The way we support in this component is the standard way and should be preferred. And you can of course use the Camel properties component to be able to set this value in a properties file.
                
> Make camel-smpp component get username from parameters instead of address
> -------------------------------------------------------------------------
>
>                 Key: CAMEL-5708
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5708
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-smpp
>    Affects Versions: 2.10.1
>            Reporter: Peter Salnikov
>            Assignee: Christian Müller
>            Priority: Minor
>             Fix For: 2.11.0
>
>
> Currently camel-smpp component gets username from address part of an uri
> username@hostname
> it's no ok when username is empty, because in that case I can't configure URI from properties
> <inOnly uri="smpp://{{smpp.username}}@{{smpp.address}}?password={{smpp.password}}"/>
> It will be more convenient and standard based if username will be passed via options:
> <inOnly uri="smpp://{{smpp.address}}?username={{smpp.username}}&amp;password={{smpp.password}}"/>
> in that case it will be easy and readable to put value to options file:
> smpp.address=127.0.0.1:2775
> smpp.username=
> smpp.password=
> smpp.from=3113

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-5708) Make camel-smpp component get username from parameters instead of address

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

Claus Ibsen commented on CAMEL-5708:
------------------------------------

Peter, we love contributions. So you are welcome to work on a patch.
                
> Make camel-smpp component get username from parameters instead of address
> -------------------------------------------------------------------------
>
>                 Key: CAMEL-5708
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5708
>             Project: Camel
>          Issue Type: Wish
>          Components: camel-smpp
>    Affects Versions: 2.10.1
>            Reporter: Peter Salnikov
>            Priority: Minor
>
> Currently camel-smpp component gets username from address part of an uri
> username@hostname
> it's no ok when username is empty, because in that case I can't configure URI from properties
> <inOnly uri="smpp://{{smpp.username}}@{{smpp.address}}?password={{smpp.password}}"/>
> It will be more convenient and standard based if username will be passed via options:
> <inOnly uri="smpp://{{smpp.address}}?username={{smpp.username}}&amp;password={{smpp.password}}"/>
> in that case it will be easy and readable to put value to options file:
> smpp.address=127.0.0.1:2775
> smpp.username=
> smpp.password=
> smpp.from=3113

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira