How to get the currency rate feeding in bulk instead of single currency pair, for single we are usin

How to get the currency rate feeding in bulk instead of single currency pair, for single we are using like this. consumer.registerClient(reqMsg().serviceName("heDD").name("EURGBP="));

Best Answer

  • Hello @syed.ibrahim

    You can use Batches feature which allows an application to create a single request containing multiple items/currency pairs so the application just calls consumer.registerClient(..) once. Then, the application will receive the currency rates of all items specified in the request. For more details, please refer to API Concepts Guide

    You can find an example consumer application's source code how to use Batches feature in