You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "lyndonmiao (Jira)" <ji...@apache.org> on 2021/03/31 02:07:00 UTC

[jira] [Created] (CAMEL-16435) SMN component-support custom service endpoint

lyndonmiao created CAMEL-16435:
----------------------------------

             Summary: SMN component-support custom service endpoint
                 Key: CAMEL-16435
                 URL: https://issues.apache.org/jira/browse/CAMEL-16435
             Project: Camel
          Issue Type: Improvement
    Affects Versions: 3.9.0, 3.8.0
         Environment: [Document of SMN SDK|https://github.com/huaweicloud/huaweicloud-sdk-java-v3/blob/master/README.md]
            Reporter: lyndonmiao
             Fix For: 3.8.0


In current SMN component, we get endpoint of  the service using the 

SmnRegion.valueOf(region).getEndpoint() method in huaweicloud-sdk-smn-3.0.32, while the SmnRegion.valueOf() method restricts the region to Huawei Public Cloud regions. In some situation, sunch as  Huwei Private Cloud, the regions are differernt from those in Public Cloud, and we cannot use the method anymore, so we need to customize the endpoint address. 

According to the '3. Client Initialization' part in document of SMN SDK, it supports two ways to get endpoint, through region and through  specified endpoint. We can add a new parameter In SMN component , which can enable users to use a custom SMN endpoint.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)