camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Green <james.mk.gr...@gmail.com>
Subject MockEndpoint header test seems wrong
Date Tue, 02 Aug 2016 17:02:12 GMT
Hi,

In my test I have:

mockEndpoint.allMessages().header("SomeKey").isInstanceOf(SomeClazz.class);

Which should fail, as the route sets SomeKey as a Property of the Exchange,
not a Header. I have scanned the code base several times for SomeKey to be
set as a Header but I cannot find such a thing which leads me to suspect
the test method itself...

Camel version: 2.17.0.

Thanks,

James

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