Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Hazelcast Service Properties"

 
(4 intermediate revisions by the same user not shown)
Line 9: Line 9:
 
! Default value
 
! Default value
 
|-
 
|-
| '''ecf.hazelcast.manager.configURL'''  
+
| '''ecf.jms.hazelcast.manager.configURL'''  
| File to use for Hazelcast group configuration for the remote service. In addition to normal URLs such as http://host.com/path/to/hazelcast.xml, or https://securehost.com/path/to/myhazelcast.xml, this property supports a values with a 'bundle' protocol to allow references to Hazelcast config files from within other bundles within a given framework.  <br>
+
| File to use for Hazelcast group configuration for the exporting manager container. In addition to normal URLs such as http://host.com/path/to/hazelcast.xml, or https://securehost.com/path/to/myhazelcast.xml, this property supports a values with a 'bundle' protocol to allow references to Hazelcast config files from within other bundles within a given framework.  <br>
For example:  '''ecf.hazelcast.manager.configURL=bundle:my.org.bundle.symbolic.name/path/to/hc-config-file.xml'''.  If given as the value of this property, at export time, the bundle '''my.org.bundle.symbolic.name''' (highest version if multiple versions are present) will be consulted and the contents of file entry with the path '''/path/to/hc-config-file.xml''' within the bundle will be read and used as for the Hazelcast config.  <br>
+
For example:  '''ecf.jms.hazelcast.manager.configURL=bundle:my.org.bundle.symbolic.name/path/to/hc-config-file.xml'''.  If given as the value of this property, at export time, the bundle '''my.org.bundle.symbolic.name''' (highest version if multiple versions are present) will be consulted and the contents of file entry with the path '''/path/to/hc-config-file.xml''' within the bundle will be read and used as for the Hazelcast config.  <br>
NOTE:  For distribution to work, manager and all members must use the same Hazelcast config.
+
 
| String&nbsp;&nbsp;
 
| String&nbsp;&nbsp;
 
| Uses the hazelcast-default.xml in Hazelcast bundle.  Note that the '''Hazelcast default''' can be set via command line argument:  -Dhazelcast.config=<url> as described [https://docs.hazelcast.org/docs/2.0/manual/html/ch13.html here]
 
| Uses the hazelcast-default.xml in Hazelcast bundle.  Note that the '''Hazelcast default''' can be set via command line argument:  -Dhazelcast.config=<url> as described [https://docs.hazelcast.org/docs/2.0/manual/html/ch13.html here]
 
|-
 
|-
| '''ecf.hazelcast.manager.id'''
+
| '''ecf.jms.hazelcast.manager.memberConfigURL'''&nbsp;&nbsp;
| Id to use for the Hazelcast Group Manager.  NOTE:  The path segment of the id (e.g. default: defaultRemoteServicesGroup) will be used to dynamically set the group name for the Hazelcast group.
+
| File to use for Hazelcast member/client group configuration for the remote service. In addition to normal URLs such as http://host.com/path/to/hazelcast.xml, or https://securehost.com/path/to/myhazelcast.xml, this property supports a values with a 'bundle' protocol to allow references to Hazelcast config files from within other bundles within a given framework.  <br>
 +
For example:  '''ecf.jms.hazelcast.manager.memberConfigURL=bundle:my.org.bundle.symbolic.name/path/to/hc-client-config-file.xml'''.  If given as the value of this property, at export time, the bundle '''my.org.bundle.symbolic.name''' (highest version if multiple versions are present) will be consulted and the contents of file entry with the path '''/path/to/hc-client-config-file.xml''' within the bundle will be read and used as for the Hazelcast config.  <br>
 +
NOTE:  For distribution to work, manager and all members must use the same Hazelcast config.
 +
| String&nbsp;&nbsp;
 +
| Uses the hazelcast-client-default.xml in Hazelcast bundle.  Note that the '''Hazelcast client default''' can be set via command line argument:  -Dhazelcast.client.config=<url> as described [https://docs.hazelcast.org/docs/2.0/manual/html/ch13.html here]
 +
|-
 +
| '''ecf.jms.hazelcast.manager.id'''
 +
| Id to use for the Hazelcast Group Manager.  NOTE:  The path segment of the id (e.g. default: defaultRemoteServicesGroup) will be used to dynamically override the group name in the Hazelcast manager and member configs.
 
| String&nbsp;&nbsp;
 
| String&nbsp;&nbsp;
| '''hazelcast://localhost/defaultRemoteServicesTopic'''  path: '''defaultRemoteServicesGroup'''
+
| '''hazelcast://localhost/defaultRemoteServicesGroup'''  path: '''defaultRemoteServicesGroup'''
  
 
|}
 
|}

Latest revision as of 16:54, 22 December 2019

Note: Hazelcast supports a number of system properties documented here.

Property Description Type Default value
ecf.jms.hazelcast.manager.configURL   File to use for Hazelcast group configuration for the exporting manager container. In addition to normal URLs such as http://host.com/path/to/hazelcast.xml, or https://securehost.com/path/to/myhazelcast.xml, this property supports a values with a 'bundle' protocol to allow references to Hazelcast config files from within other bundles within a given framework.

For example: ecf.jms.hazelcast.manager.configURL=bundle:my.org.bundle.symbolic.name/path/to/hc-config-file.xml. If given as the value of this property, at export time, the bundle my.org.bundle.symbolic.name (highest version if multiple versions are present) will be consulted and the contents of file entry with the path /path/to/hc-config-file.xml within the bundle will be read and used as for the Hazelcast config.

String   Uses the hazelcast-default.xml in Hazelcast bundle. Note that the Hazelcast default can be set via command line argument: -Dhazelcast.config=<url> as described here
ecf.jms.hazelcast.manager.memberConfigURL   File to use for Hazelcast member/client group configuration for the remote service. In addition to normal URLs such as http://host.com/path/to/hazelcast.xml, or https://securehost.com/path/to/myhazelcast.xml, this property supports a values with a 'bundle' protocol to allow references to Hazelcast config files from within other bundles within a given framework.

For example: ecf.jms.hazelcast.manager.memberConfigURL=bundle:my.org.bundle.symbolic.name/path/to/hc-client-config-file.xml. If given as the value of this property, at export time, the bundle my.org.bundle.symbolic.name (highest version if multiple versions are present) will be consulted and the contents of file entry with the path /path/to/hc-client-config-file.xml within the bundle will be read and used as for the Hazelcast config.
NOTE: For distribution to work, manager and all members must use the same Hazelcast config.

String   Uses the hazelcast-client-default.xml in Hazelcast bundle. Note that the Hazelcast client default can be set via command line argument: -Dhazelcast.client.config=<url> as described here
ecf.jms.hazelcast.manager.id Id to use for the Hazelcast Group Manager. NOTE: The path segment of the id (e.g. default: defaultRemoteServicesGroup) will be used to dynamically override the group name in the Hazelcast manager and member configs. String   hazelcast://localhost/defaultRemoteServicesGroup path: defaultRemoteServicesGroup

Back to the top