This commit is contained in:
Mark Fisher
2008-11-23 21:28:02 +00:00
parent b6c5c54ae6
commit b16431e265

View File

@@ -240,9 +240,9 @@ public class MethodParameterMessageMapper implements InboundMessageMapper<Object
if (Headers.class.isInstance(o)) {
Assert.isAssignable(Map.class, this.getParameterType(),
"parameter with the @Headers annotation must be assignable to java.util.Map");
this._hasHeadersAnnotation = true;
return true;
}
this._hasHeadersAnnotation = true;
return true;
}
return false;
}