Remove in transit topic, message wrapper object. Add getTopic method and topic path setting to read topic from message content
I think the ideal way to do this is to separate the schemas so there is a SoAR schema defining the payload and a backbone schema defining the wrapper object and message headers. The backbone can then be configured with the backbone schema without tying it to the SoAR protocol.
For now it might be easier to configure the backbone with the full mock or SoAR schema.
Decoupling it later will require a change to each language port of the adapters.
- Add message topic path to backbone config
- Change backbone to get topic from config topic path
- Remove topic message wrapper from javascript adapter
- Remove topic message wrapper from python adapter
- Check whether changes are required in the adapter example implementations