[
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}}&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