You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by ext2 <xu...@tongtech.com> on 2010/03/11 10:11:14 UTC

Question about enrich pattern.

Hi:
	The camle's enrich pattern could be used to enrich the original
message by a producer's result message.
	And does the pattern support to enrich the original message by  a
"customed route result"?
	For example, it maybe looks liked as :
		<enrich aggregation="enrichAggregator>
			<pipeline>
				... some processes ..
			</pipeline>
		</enrich>



Re: Question about enrich pattern.

Posted by Claus Ibsen <cl...@gmail.com>.
On Thu, Mar 11, 2010 at 10:11 AM, ext2 <xu...@tongtech.com> wrote:
>
> Hi:
>        The camle's enrich pattern could be used to enrich the original
> message by a producer's result message.
>        And does the pattern support to enrich the original message by  a
> "customed route result"?
>        For example, it maybe looks liked as :
>                <enrich aggregation="enrichAggregator>
>                        <pipeline>
>                                ... some processes ..
>                        </pipeline>
>                </enrich>
>
>
>

You can use direct endpoint
http://camel.apache.org/direct

To use another Camel route as the "customized route result".





-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus