camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arin <>
Subject Re: How to set from id and subject of an email in
Date Wed, 27 May 2009 16:18:13 GMT

Please see below configuration, I am getting error  Invalid content was found
starting with element 'camel:setHeader'. Can anyone correct me as where I
should <camel:setHeader>

<camel:camelContext id="camel">
        <camel:template id="camelTemplate"/>
        <camel:endpoint id="invitationQueue" uri="${queue.invitation}"/>
        <camel:endpoint id="resetPasswordQueue"
        <camel:endpoint id="mailServer" uri="${}"/>

        <camel:setHeader name="subject"><constant>Hello

        <camel:endpoint id="invitationVelocity"
            <!-- Route to send invitation -->
            <camel:from ref="invitationQueue"/>
            <camel:to ref="invitationVelocity"/>
            <camel:to ref="mailServer"/>



    <alias alias="producerTemplate" name="camelTemplate"/>
View this message in context:
Sent from the Camel Development mailing list archive at

View raw message