When the payload is empty the PayloadEnricher fails to add new values. In my case I'm using int-http:inbound-gateway for request type DELETE. So I do not have a payload body. I have to enrich the payload with the values from path parameter. However since the payload is empty the payload enricher does not add any value to it and gives exception.
Payload Enricher doesnot work when palyload is empty. Page Title Module
Move Remove Collapse