Install a custom inbound integration
PolicyCenter uses a custom inbound integration to read information that an external system creates and that is neither a file nor a JMS message. This integration can be either a message reply plugin or a startable plugin.
Procedure
- In the Project window, navigate to , and open the file inbound-integration-config.xml.
-
Configure the thread pools.
You can use a thread pool element in the base configuration as a template.
-
In the list of integrations, create one
<integration>element of type<custom-integration>.You can use a<custom-integration>element in the base configuration as a template. - Set configuration parameter subelements.
-
Create the custom inbound integration plugin.
- In Studio, in the Plugins registry, add a new .gwp file.
-
Studio prompts for a plugin name and plugin interface. For the plugin name, use a name that represents
the purpose of this specific inbound integration. For the Interface field, enter one of the following values.
- For a message reply plugin, type
InboundIntegrationMessageReply. - For a startable plugin for non-messaging use, type
InboundIntegrationStartablePlugin.
- For a message reply plugin, type
- Click the plus (+) symbol to add a plugin implementation and choose the class type that you implemented.
- For a Gosu or Java plugin, in the Gosu class or Java class field, type the fully qualified name of your plugin implementation class. For an OSGi plugin, in the Service PID field, type the fully qualified Java class name of your OSGi implementation class.
-
Add a plugin parameter with the key
integrationservice. For the value, type the unique name for your integration that you used in inbound-integration-config.xml for this integration.
- Start the server and test your new inbound integration. Add logging code as appropriate to confirm the integration.
What to do next
See also
