Search code examples
espernesper

How to set Object-array default event representation


I'm facing an error while I change the default event representation to Object array in this way:

Configuration configuration = new Configuration();
configuration.getEngineDefaults().getEventMeta().setDefaultEventRepresentation(EventUnderlyingType.OBJECTARRAY);

My events definitions are in create schema way. The epl file get successfully deploy, but when I insert a new Object[] event, an error rise telling that there are no event definition for this event name.

If more details are needed, please, ask for it.


Solution

  • After few tests, I can say that it's necessary to define every event type when the default event representation is set to object array.