Events can be sent with current emitter settings, if transmission modes do not need to be specified.
If you do not need to specify a particular transmission mode or transaction mode, you can send an event using the current emitter settings. These settings are initially defined by an administrator in the emitter factory profile, but they can later be changed by event consumers.
String eventId = emitter.sendEvent(event);
In this example, emitter is an Emitter instance, and event is a CommonBaseEvent instance.
The returned value, eventId, is the globally unique identifier of the event (the value of the globalInstanceId field of CommonBaseEvent). If the event does not have a global instance identifier when you submit it, the emitter assigns one automatically.