質問

I've got some js file in the registy /_system/config/js/someJS.js what path should i set in url field in local-entry?

i tried to set these paths:

file:config/js/someJS.js
file:/_system/config/js/someJS.js 
file:registry/resource/_system/config/js/someJS.js

with no luck.

i know that _system/config can be accessed through the conf:/ but i get an error that file conf:/js/someJS.js referers to invalid URL.

about config: i'm running standalone configuration of esb 4.8.1

役に立ちましたか?

解決

Try like this;

    // goverance/config registry
    Registry regInstance = synapseMsgContext.getConfiguration()
            .getRegistry();                        
    Object obj=regInstance.getResource(new Entry("gov:/test1.txt"),null);        
    Object obj2=regInstance.getResource(new Entry("conf:/test2.txt"),null);    

Refer this post

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top