13 HTTP Publish-Subscribe Servers

This chapter describes how you can use Oracle Stream Analytics Visualizer to view, add, or delete HTTP publish-subscribe server channels for use with Oracle Stream Analytics.

This chapter includes the following sections:

For more information, see:

13.1 View an HTTP Publish-Subscribe Server Channels

Using the Oracle Stream Analytics Visualizer, you can view the HTTP publish-subscribe server channels currently open on the Oracle Stream Analytics server, including:

  • Static: those channels configured in the Oracle Stream Analytics server config.xml and used by Oracle Stream Analytics Visualizer itself.

  • Dynamic: those channels that are not configured in the Oracle Stream Analytics server config.xml but created dynamically when the Oracle Stream Analytics sever is running. You can view statistics for dynamic channels, including the number of messages sent to this channel and the number of subscribers. Dynamic channel configuration is read-only.

View HTTP Publish-Subscribe Server Channels

  1. Be sure you log on to Oracle Stream Analytics Visualizer using an administration user.
  2. In the left pane, click the Domain > Server > Services > Http Pub/Sub Server node, where Domain refers to the name of your Oracle Stream Analytics domain and Server refers to the name of the server instance.

    A table appears in the right pane with the list of HTTP pub-sub servers configured for Oracle Stream Analytics.

  3. In the right pane, double-click the name of the HTTP pub-sub server in the table. The default server is called pubsub.

    The HTTP publish-subscribe server properties dialog appears as Figure 13-1 shows.

    Figure 13-1 HTTP Publish-Subscribe Server Channel List

    Description of Figure 13-1 follows
    Description of "Figure 13-1 HTTP Publish-Subscribe Server Channel List"

    All active channels are shown in the Channels table. The Status column indicates the type of channel.

13.2 Add an HTTP Publish-Subscribe Server Channel

Using the Oracle Stream Analytics Visualizer, you can add an HTTP publish-subscribe server channel.

Add an HTTP Publish-Subscribe Server Channel

  1. Be sure you log on to Oracle Stream Analytics Visualizer using an administration user.
  2. In the left pane, click the Domain > Server > Services > Http Pub/Sub Server node, where Domain refers to the name of your Oracle Stream Analytics domain and Server refers to the name of the server instance.

    A table appears in the right pane with the list of HTTP pub-sub servers configured for Oracle Stream Analytics.

  3. In the right pane, double-click the name of the HTTP pub-sub server in the table. The default server is called pubsub.
  4. Click Add Channel.
  5. In the working area towards the bottom of the right pane, enter the name of the new channel in the Channel Pattern text box.

    The channel must start with a /, such as /mychannel.

  6. If you have security enabled, select the security roles that are allowed to publish and subscribe to the channel.

    Select more than one by holding down the Ctrl key.

  7. Click Save.

    The new channel appears in the Channels table at the top right of the pane.

13.3 Delete an HTTP Publish-Subscribe Server Channel

Using the Oracle Stream Analytics Visualizer, you can add an HTTP publish-subscribe server channel.

Delete an HTTP Publish-Subscribe Server Channel

  1. Be sure you log on to Oracle Stream Analytics Visualizer using an administration user.
  2. In the left pane, click the Domain > Server > Services > Http Pub/Sub server node, where Domain refers to the name of your Oracle Stream Analytics domain and Server refers to the name of the server instance.

    A table appears in the right pane with the list of HTTP pub-sub servers configured for Oracle Stream Analytics.

  3. In the right pane, click the name of the HTTP pub-sub server in the table. The default server is called pubsub.
  4. In the Channels table, click the name of the channel you want to delete.
  5. Click Delete Channel at the bottom of the pane.