camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Foster (JIRA)" <>
Subject [jira] [Commented] (CAMEL-4596) enrich and pollEnrich should accept an expression for dynamic uris
Date Wed, 26 Sep 2012 18:53:07 GMT


Alan Foster commented on CAMEL-4596:

Is it possible to extend this ticket to include similar behavior for the loadbalancer component

> enrich and pollEnrich should accept an expression for dynamic uris
> ------------------------------------------------------------------
>                 Key: CAMEL-4596
>                 URL:
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Priority: Minor
>             Fix For: 3.0.0
> We should consider using an expression for uri's for the enrich and pollEnrich EIP's
so we can poll from a dynamic computed endpoint.
> However it will break API as currently the uri is mandatory.
> It's a bit the same problem with to EIP which is also static uri. However for to EIP
we have recipientList which is the dynamic to.
> So we need a similar dynamic for enrich and pollEnrich. 
> This also solves the problem with that people wan't to provide details from the current
exchange in the endpoint uri. We have a ticket for that.
> eg enrich("file:inbox?fileName=${header.nameToPickUp}")
> So if we can do it using an expression it could be
> .enrich().simple("file:inbox?fileName=${header.nameToPickUp}")
> See nabble

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message