Notifications
Clear all

How to write error when you are using com.onenetwork.platform.integ.msg.AbstractInboundProcessor

1 Posts
2 Users
0 Reactions
191 Views
0
Topic starter

I have a custom IBProcessor that extends com.onenetwork.platform.integ.msg.AbstractInboundProcessor. In case of any errors during data processing within this IBProcessor, an error file should be generated. The file should contain the error message along with the specific CSV line causing the error. If you have a sample implementation, it would be greatly appreciated.

1 Answer
0

As its a custom processor, author is responsible to create the error records if some validation fails or in case of business error. 

Please refer com.onenetwork.platform.mlmodel.processor.MLModelInboundProcessor or com.onenetwork.platform.integ.msg.DynamicEnumerationsProcessorV2 for details