Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.6.0
-
None
Description
Doing this bean binding:
public List<String> route(@XPath("/customer/id") String customerId, @Header("Location") String location, Document body) {
The @Header does not have a default value, so you have to do this to get it to work:
public List<String> route(@XPath("/customer/id") String customerId, @Header(name = "Location") String location, Document body) {
So we should support you do not have to set the name attribute.