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