<setHeader headerName="routeId">
<xpath>//myId</xpath>
</setHeader>
<bean ref="RecipientList" method="route"/>
here is my recipient list:
public String[] route(@Header("//routeId") String routeId)
{
LOG.info("Route id: " + routeId);
}
the code above returns null.
--
View this message in context:
http://old.nabble.com/How-to-set-an-exchange%27s-message-header-tp27685342p27685342.html
Sent from the Camel - Users mailing list archive at Nabble.com.
