Newer Version Available

This content describes an older version of this product. View Latest

Subscribe to a Channel and Receive Event Notifications

Use EMP Connector to subscribe to a platform event channel.
  1. In the /src/main/java/com/salesforce/emp/connector/example folder, open the LoginExample.java source file.
  2. Subscribe to an event channel by running the LoginExample class.
    1. To subscribe to a custom event channel, see Subscribe to a Custom Platform Event Channel.
    2. To subscribe to a standard event channel, see Subscribe to a Standard Platform Event Channel.