Hi Amit,

If you are using you can use multiple registry or local entry projects for
different environments.

[1]
https://docs.wso2.com/display/DVS380/Creating+Governance+Registry+Artifacts
[2] https://docs.wso2.com/display/ESB500/Working+with+Local+Registry+Entries

On Thu, Dec 1, 2016 at 6:32 PM, Amit Rajvanshi <
amit.rajvan...@eperiumindia.com> wrote:

> Hello Malaka,
>
>
>
> I am able to create key value pair in registry and it works successfully ,
> but how can we manage it to deploy on multiple servers, do we need to
> create or import each key one by one on different server  ?
>
> or is it possible to create multiple key-value pair on single file ? does
> these keys stored on some location on physical server and we can copy paste
> them to another server location during the deployment?
>
>
>
> Please help.
>
>
>
> Best regards,
> *Amit Rajvanshi*
> Eperium Business Solutions(I) Pvt Ltd,
> B-13, Sector 57,
> Noida (U.P.) - 201301
> Web: http://www.eperiumindia.com
>
> [image: logo-eperium]
>
> This message may contain confidential or legally privileged information.
> In the event of any error in transmission, unauthorized recipients are
> requested to contact the sender immediately and not to disclose or make use
> of this information. No warranties or assurance are made or given as to the
> accuracy of the information given or in relation to the safety of this
> e-mail and any attachments. No liability whatsoever is accepted for any
> consequences arising from this e-mail.
>
>
>
> *From:* Amit Rajvanshi
> *Sent:* 01 December 2016 17:02
> *To:* 'Malaka Silva'
> *Cc:* WSO2 Developers' List
> *Subject:* RE: Regarding configuration parameter WSO2 ESB
>
>
>
> Hi Malaka,
>
>
>
> Sorry but still I am not able to achieve it. I have developed Inbound
> Endpoint and file URI is developed with the below code :
>
>
>
>   <parameter key=
> *"conf://repository/esb/esb-configurations/InputFileLocation"* name=
> *"transport.vfs.FileURI"*/>
>
>
>
>
>
> Now I am trying to create a key-value pair in Registry entry
>
>
>
>
>
> Here I am stuck because out of three options which one I need to select
> and how to create key –values pair ?
>
> Do I need to restart the server after creation of registry entry ?
>
> Could you please guild me on how to create key 
> (*/repository/esb/esb-configurations/InputFileLocation)
> *and corresponding value *?*
>
>
>
> Best regards,
> *Amit Rajvanshi*
> Eperium Business Solutions(I) Pvt Ltd,
> B-13, Sector 57,
> Noida (U.P.) - 201301
> Web: http://www.eperiumindia.com
>
> [image: logo-eperium]
>
> This message may contain confidential or legally privileged information.
> In the event of any error in transmission, unauthorized recipients are
> requested to contact the sender immediately and not to disclose or make use
> of this information. No warranties or assurance are made or given as to the
> accuracy of the information given or in relation to the safety of this
> e-mail and any attachments. No liability whatsoever is accepted for any
> consequences arising from this e-mail.
>
>
>
> *From:* Malaka Silva [mailto:mal...@wso2.com <mal...@wso2.com>]
> *Sent:* 29 November 2016 20:10
> *To:* Amit Rajvanshi
> *Cc:* WSO2 Developers' List
> *Subject:* Fwd: Regarding configuration parameter WSO2 ESB
>
>
>
> Hi Amit,
>
>
>
> Basically you can store the actual value in registry [1] or as a local
> entry [2]. These features comes out of the box with WSO2 ESB. When you save
> you will get a key for each entry. So you need to maintain different value
> set for different environments but key(s) should be same.
>
>
>
> After doing the above you will be able to use the key instead of real
> values when configuring inbound endpoints.
>
>
>
> [1] https://docs.wso2.com/display/ESB490/Working+with+the+Registry
>
> [2] https://docs.wso2.com/display/ESB490/Local+Registry+Entries
>
>
>
> ---------- Forwarded message ----------
> From: *Amit Rajvanshi* <amit.rajvan...@eperiumindia.com>
> Date: Tue, Nov 29, 2016 at 5:48 PM
> Subject: Regarding configuration parameter WSO2 ESB
> To: "mal...@wso2.com" <mal...@wso2.com>
>
> Hi Malaka,
>
>
>
> We are exploring  the ESB option for one of our client and WSO2-ESB is one
> of them, while going through the available tutorials and documents on web
> we are trying to create POC’s.
>
> However we stuck at one point or we are not able to understand the steps
> how to proceed with .
>
>
>
> https://wso2.org/jira/browse/ESBJAVA-3595
>
> https://docs.wso2.com/display/ESB490/Working+with+Inbound+Endpoints
>
>
>
> In the above Jira and in tutorials it is mentioned that there is a
> possibility to configure Inbound VFS properties dynamically for different
> environment. We are not able to grasp the steps to do.
>
> Could you please help us with the steps how to make it configurable and
> how to pass key-value in registry.
>
>
>
> <parameter name="transport.vfs.FileURI" key="conf:/repository/esb/esb-
> configurations/test"/>
>
>
>
> How can we use the registry to store the parameters like above ?
>
>
>
> Best regards,
> *Amit Rajvanshi*
> Eperium Business Solutions(I) Pvt Ltd,
> B-13, Sector 57,
> Noida (U.P.) - 201301
> Web: http://www.eperiumindia.com
>
> [image: logo-eperium]
>
> This message may contain confidential or legally privileged information.
> In the event of any error in transmission, unauthorized recipients are
> requested to contact the sender immediately and not to disclose or make use
> of this information. No warranties or assurance are made or given as to the
> accuracy of the information given or in relation to the safety of this
> e-mail and any attachments. No liability whatsoever is accepted for any
> consequences arising from this e-mail.
>
>
>
>
>
>
>
> --
>
>
>
> Best Regards,
>
>
> Malaka Silva
> Senior Technical Lead
> M: +94 777 219 791 <077%20721%209791>
>
> Tel : 94 11 214 5345
>
> Fax :94 11 2145300 <011%202%20145300>
>
> Skype : malaka.sampath.silva
>
> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>
> Blog : http://mrmalakasilva.blogspot.com/
>
>
>
> WSO2, Inc.
>
> lean . enterprise . middleware
> https://wso2.com/signature
>
> http://www.wso2.com/about/team/malaka-silva/
> <http://wso2.com/about/team/malaka-silva/>
>
> https://store.wso2.com/store/
>
> Don't make Trees rare, we should keep them with care
>



-- 

Best Regards,

Malaka Silva
Senior Technical Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to