Is there anyway to stop node.js proxies from being created? We are worried about possible errors causing our message processors to go out of memory with heavy node.js use. We would at least like to be able to review use cases and approve these being created.
We don't have a way to stop creating NodeJS API Proxies. However, we can disable the NodeJS feature which will cause any API Proxies that attempt to use the functionality will fail to deploy. This can be done by setting the property nodejs.enabled in nodejs.properties on all Message Processors to false as shown below:
nodejs.enabled=false
By default, this property is commented out and set to true as shown below:
#nodejs.enabled=true
You can use the below steps to uncomment and set the property to true on Message Processors :
1. Create message-processor.properties file if does not exist under /opt/apigee/customer/application
2. Add the following line to /opt/apigee/customer/application/message-processor.properties
conf/nodejs.properties+nodejs.enabled=false
/opt/apigee/apigee-service/bin/apigee-service edge-message-processor restart
Note: If you have multiple target endpoints in an API Proxy with some having NodeJS backend servers and some having non NodeJS backend servers will also fail if we disable the above mentioned property.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |