You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by qu...@pronoia-solutions.com on 2017/07/01 15:18:11 UTC
Re: recipientList not working
There's a spelling error - prameter vs parameter - that could be it.
> On Jun 28, 2017, at 3:59 PM, sap <pa...@gmail.com> wrote:
>
> I am using recipient list because I need date as part of URL.
>
> .setHeader("prameter",constant("20170626"))
> .recipientList(simple("{{test.url}}/${header.parameter}?bridgeEndpoint=true"))
>
> However, when starting camel, I get below error.
>
> Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder
> 'header.parameter' in value
> "http://testapp.test.com/sap/rest/asofResults/${header.parameter}?bridgeEndpoint=true"
>
>
> What am I doing wrong?
>
> Thanks,
>
>
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/recipientList-not-working-tp5805389.html
> Sent from the Camel - Users mailing list archive at Nabble.com.