Hi Everyone,

I have not been able to find any documentation or examples on using the
"<choice>" elements with pojo based routing.

I am using the Spring XML Extensions to define a route.  I can not figure
out how to to test the body with a "<when>" structure.  Using the "<xpath>"
element is obviously wrong since the message is a pojo and not
org.w3c.dom.Node.

Is there any way to this with the Spring XML?

I have tried adding Headers in my producer:

producer.sendBodyAndHeader(body, "MyHeader", "SuperHeader");

...but I have not been able to retrieve those headers in the XML route.

Thanks in advance,

Rob

Reply via email to