问题描述
我在我的maven项目中使用JavaScript HttpAdapter。我有一种情况,我的客户希望有多个HttpAdapter作为adapter.xml文件的一部分。这是我之前没有尝试过的。
I am using JavaScript HttpAdapter in my maven project. I have a situation where my customer expects to have more than one HttpAdapter as part of the adapter.xml file. This is something that I have not tried before.
是否可以在单个文件中配置多个适配器? IBM MFP适配器是否支持此功能?
Is it possible to have more than one adapter configuration in a single file? Does IBM MFP adapter support this?
如果是,请分享您的想法。
If yes, please share your thoughts.
谢谢,
Janarthanan
Thanks,Janarthanan
推荐答案
您不能拥有多个适配器的adapter.xml文件。
适配器是一个单独的Maven项目。您可以使用多个过程创建一个适配器。
An Adapter is a separate Maven project. You can create one adapter with multiple Procedure.
如果要在项目中创建多个适配器,则可以将所有适配器放在一个文件中。
If you are creating multiple adapter in a project then you can put all adapter in a one file.
此外,您还可以构建&使用以下命令从项目根文件夹部署所有适配器:
Also you can build & deploy all adapter from project root folder using these command:
mfpdev adapter build all
mfpdev adapter deploy all
这篇关于是否可以将所有适配器配置放在IBM MFP的一个文件中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!