}
for (Entry<String, String> matchEntry : matchingHeaders.entrySet()) {
String namePart = matchEntry.getKey();
if (!messageHeaders.containsKey(namePart) && !citrusMessageHeaders.containsKey(namePart)) {
return false;
}
if (citrusMessageHeaders.containsKey(namePart) && !citrusMessageHeaders.get(namePart).equals(matchEntry.getValue())) {
return false;