How do I set vbroker properties for a specific service?

By default VisiBroker based services, such as an EJB Container, are configured to use the server's vbroker properties. If you want to have different vbroker properties for a particular service instance than the default server ones then the service must be configured to use a different vbroker properties file.

You do this by:

  1. Creating a file with the properties in it.
  2. Editing the service's service.properties file and changing its service.propstorage property value to point at the new file (path is relative to <installdir>/var/servers/<servername>/adm/properties)

For example:

  1. Create file <installdir>/var/servers/<servername>/adm/properties/ejbcontainer/vbroker.properties with your vbroker properties
  2. Edit <installdir>/var/servers/<servername>/adm/properties/ejbcontainer/service.properties and change the "service.propstorage=vbroker.properties" to "service.propstorage=ejbcontainer/vbroker.properties".