DefaultHistoryEventProducer produces event with incorrect activity type


I try to use camunda events in my solutions. For example, listen for historic activity events and perform some logic when even retreived.

I faced the problem working with intermediate throw/catch events. When token achieved an intermediate throw/catch event then DefaultHistoryEventProducer produces an event of type HistoricActivityInstanceEventEntity. This object has field “activityType” and in this case the value is “intermediateNoneThrowEvent” instead of “intermediateMessageThrowEvent” or “intermediateMessageCatch”.

Why event producer does not set the specific activity type for message events?

I`m using camunda 7.18 with spring boot.