add configuration options for java gateway
Merge branch 'java_gateway' into integration
default to 0 java pollers
Merge branch 'java_gateway' into integration