Included messaging transports

Email message transport

The base configuration of PolicyCenter provides a message transport that can send standard SMTP emails.

By default, the emailMessageTransport plugin registry is registered with a plugin implementation class that has been deprecated. Instead of using the default registered class, register the Gosu plugin implementation class gw.plugin.email.impl.JavaxEmailMessageTransport.

See also

Register and enable the console message transport

You can register a message transport provided in the base configuration to write debug messages to the console.

About this task

In the base configuration, PolicyCenter provides a console message transport that writes the message text payload to the PolicyCenter console window. You can register this transport in the Plugin Registry editor in Guidewire Studio and enable the destination to debug integration code that creates and sends messages.

Procedure

  1. In Guidewire Studio, navigate in the Project window to configuration > config > Plugins > registry and open consoleTransport.gwp.
  2. Replace the registered Gosu class with gw.plugin.messaging.impl.ConsoleMessageTransport.
  3. Navigate in the Project window to configuration > config > Messaging and open messaging-config.xml.
  4. Select the destination with ID 68, Java.MessageDestination.ConsoleMessageLogger.Name.
  5. Clear the check box for Disable destination.
  6. Verify the settings for this destination.

    In the base configuration, some useful settings for this destination are the following:

    Property Setting
    Transport Plugin consoleTransport
    Max Retries 3
    Initial Retry Interval 100
    Retry Backoff Multiplier 2
    Events \w*

    This configuration specifies that PolicyCenter is to send all events to this destination and trigger Event Fired rules accordingly.

  7. Restart the PolicyCenter server.

Results

After restarting the server, watch the console window for messages.