Adding an HTTP Channel and Destination

For this example project, you will add an HTTP channel and destination.

    Procedure
  1. Right-click the Channels folder and select New > Channel.
    The New Channel Wizard opens up.
  2. Add information to the following fields:
    1. In the Channel Name field, type HTTP.
      Note: This value is case sensitive. Ensure that you use all capital letters.
    2. In the Description field, type An HTTP channel.
    3. In the Driver Type field, select HTTP.
    4. Click Finish.
      You will see the Channel editor.
    Note: In the editor, you cannot change the resource name but you can update the description, if needed. You can later rename the resource using a shortcut menu refactoring option.
  3. In the Resource field, browse to and select the HTTP connection resource you created.
    Only valid shared resources for the current resource display.
  4. In the Destinations section, click Add and name the destination AllOps. Leave all other fields set to their default values.
    Note: Provided Examples Requirements:
    • HTTP and AllOps are required names for examples. The readme.html uses the AllOps destination in its embedded forms.
    • The HTTP connection port must match the readme port .
  5. Save and close the resource.
    Tip: All messages arriving at a destination are transformed to the destination’s default event, unless the message specifies a different event. Adding a default event is not necessary for example projects, because the readme.html, which starts an HTTP channel, specifies the event to use.

    Adding a default event, however, does stop a warning sign from appearing. This warning draws your attention to the fact that a destination does not have a default event, but does not indicate an error.

    Default events and destinations are explained in Events.

What to do next

Now you have built a channel and a destination within that channel to listen for messages. The next step is to create some events.