For a deeper look into our Elektron API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
3 0 0 2

EMA Java - Allow EmaConfig.xml be loaded from jar's resource

Currently, in EMAJ 1.2.0, the EMAConfig.xml location can either be a path to the physical file, or a directory where the file is located. However, in our code, the xml is bundled with the jar as a resource. The current ConfigReader.loadFile(String) function does not work for us because you cannot use File class to represent a resource in the jar file.

Could you make a change in the config reader so that the config file can be a resource in the jar? Something like URL(classpath:/config/blah/EmaConfig.xml)

Thanks!

elektronrefinitiv-realtimeelektron-sdk
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hello @Anthony Au Yeung,

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?

If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

AHS

1 Answer

· Write an Answer
Upvotes
Accepted
22.1k 59 14 21
@Anthony Au Yeung

ESDK development team tracks the issues and enhancements at the GitHub site. I would suggest that you request this functionality here.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.