I'm trying to figure out an easy way to use Spring XML (well anything really)
to specify the delivery address of an SMTP endpoint from a header
This is how I have the "generic" SMTP delivery:
<route>
<from uri="activemq:queue:OutgoingEmail" />
<to uri="smtp://localhost" />
</route>
I have a header set called "deliver_to" that has the email address I'd want
to email.
Ideally, I would like to specify the from information (at least from an
envelope standpoint) dyanmically as well - but I've already create standard
evelope things like From:, Reply-To:, Subject: in the message being routed
to the OutgoingEmail queue.
Thanks,
Eric
--
View this message in context:
http://www.nabble.com/SMTP-EndPoint-with-Delivery-Recipient-from-a-header-value--tp15123730s2354p15123730.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.