You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2009/02/08 11:36:59 UTC

[jira] Commented: (CAMEL-209) Content Encrichment support

    [ https://issues.apache.org/activemq/browse/CAMEL-209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=49215#action_49215 ] 

Claus Ibsen commented on CAMEL-209:
-----------------------------------

We can do this today, but the DSL could be spiced up a bit.

If we have the consumer template (oppose to producer template) you could consume from a processor and enrhich the original exchange with the result.

{code}
void process(Exchange e) {
  Exchange result = consumerTemplate.consume("jdbc:xxx")
  // enrich original exchange with result
{code}

Letting you do the enrich in Java gives you the full power how it should be enriched.

> Content Encrichment support 
> ----------------------------
>
>                 Key: CAMEL-209
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-209
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Nicky Sandhu
>             Fix For: 2.0.0
>
>
> ContentEnricher (http://www.enterpriseintegrationpatterns.com/DataEnricher.html) support is needed. Here's a thread that outlines the usecase http://www.nabble.com/How-to-enrich-message-with-the-result-of-other-invocation-t4714129s22882.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.