Publishing BODs from LN
Events are published from LN through the standard business object event publishing interface. When an event is published for a business object that implements a BOD interface, then the message is formatted as a BOD. Otherwise it is published as a BDE event.
BODs are published to ION.
If LN is in an event producer role, a subscription is needed for each business object that needs to publish. In the BDE paradigm, the SubscribeEvent and UnsubscribeEvent methods are available for this. In the BOD paradigm, ‘subscriptions’ are created automatically from outside LN.
Regarding error handling, any error that occurs in LN while trying to create or publish a message, is returned to the application. (This is different compared to BDEs, where error messages are sent to the LN Adapter, which will publish or log the error.)