elastic-apm-mule3-agent
elastic-apm-mule3-agent copied to clipboard
cannot be cast to org.mule.api.AnnotatedObject Error for Mule Object Store
Hi Michael,
I was trying your apm agent for mule 3.9 and I faced an issue when the message processor is the mule object store or even a custom connector:
org.mule.modules.objectstore.generated.processors.StoreMessageProcessorDebuggable cannot be cast to org.mule.api.AnnotatedObject
Class: AnnotatedObjectUtils method: getProcessorType
Component: <objectstore:store config-ref="ObjectStore__Connector" key="a" value-ref="#[payload]" overwrite="true" doc:name="ObjectStore"/>
Yep, will have a look. Thanks for reporting it.
Hi Gonçalo - I created a new release with the fix for this issue. The names of the DEvKit components such as objectStore connector will not reflect the step name, but will rather show the class name, but at least it won't crash. This is due to devKit connector Processors not implementing AnnotatedObject interface.
Please check the v1.19.0 release out and let me know.
hi Michael,
Thank you so much for your support. It is working fine.