Hi,
Is it an issue or not ?
If I define the parameters of my bean method like this :
public RequestMessage saveRequestMessage(
@Body RequestMessage requestMessage,
@Header(value = "messageType") String messageType,
@Header(value = "requestId") String requestId,
@Header(value = "validationResult") List<Audit> errors)
Camel does not raise an error if the content of the header validationResult
does not correspond to the type List<Audit> ?
Regards,
Charles Moulliard
Senior Enterprise Architect
Apache Camel Committer
*****************************
blog : http://cmoulliard.blogspot.com