djsuperchief / Kyameru

Kyameru is a business processing engine inspired by Apache Camel and built for .Net Core.
https://djsuperchief.github.io/Kyameru/
MIT License
2 stars 1 forks source link

Initialise class for to and from #109

Open djsuperchief opened 7 months ago

djsuperchief commented 7 months ago

There may be a situation where headers do not cut it for initialisation data. For instance, you may need to be able to specialise a payload. This could probably be done with extension methods but it is worth investigating whether there is going to be much call for initialisation class and data as part of the core or as part of a component.

Example, REST component will need to be able to specify a data set to post etc. This cannot be done in headers easily or in an easily readable manor.