camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Moulliard <>
Subject Error not raised by Camel if the @Header type define in a bean is not correct
Date Tue, 16 Jun 2009 09:50:56 GMT

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> ?


Charles Moulliard
Senior Enterprise Architect
Apache Camel Committer

blog :

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message