Apologies, I made a typo...
On 05/02/2008, Er1c <[EMAIL PROTECTED]> wrote:
>
> Thanks for the response, I hadn't considered the RecipientList approach...
>
> I tried something like:
>
> <route>
> <from uri="activemq:queue:OutgoingEmail" />
> <recipientList>
> <recipients>
> <el>"smtp://localhost#${in.header.deliver_to}"</el>
${in.headers.deliver_to}
i.e. its the plural headers which maps to the Message.getHeaders() method
--
James
-------
http://macstrac.blogspot.com/
Open Source Integration
http://open.iona.com