如何修改org.apache.activemq.artemis.core.deployers.impl.FileConfigurationParser
How to modify org.apache.activemq.artemis.core.deployers.impl.FileConfigurationParser
在org.apache.activemq.artemis.core.deployers.impl.FileConfigurationParser
中有一行代码:
config.setThreadPoolMaxSize(getInteger(e, "thread-pool-max-size", config.getThreadPoolMaxSize(), Validators.MINUS_ONE_OR_GT_ZERO));
如何modify/patch此代码?可能吗?
到目前为止,我只修补了org.apache.activemq.artemis.ra.ActiveMQResourceAdapter.java
。
是的,可以修改此代码。只需从 ActiveMQ Artemis GitHub repository 中获取源代码并根据需要进行修改。
也就是说,不清楚您为什么需要修改此代码,因此它可能不是解决您问题的好方法。
在org.apache.activemq.artemis.core.deployers.impl.FileConfigurationParser
中有一行代码:
config.setThreadPoolMaxSize(getInteger(e, "thread-pool-max-size", config.getThreadPoolMaxSize(), Validators.MINUS_ONE_OR_GT_ZERO));
如何modify/patch此代码?可能吗?
到目前为止,我只修补了org.apache.activemq.artemis.ra.ActiveMQResourceAdapter.java
。
是的,可以修改此代码。只需从 ActiveMQ Artemis GitHub repository 中获取源代码并根据需要进行修改。
也就是说,不清楚您为什么需要修改此代码,因此它可能不是解决您问题的好方法。