Hi,

I don't know why did you put // before the routeId in the @Header annotation ?

Willem

lekkie wrote:

<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.



Reply via email to