You have typo in
.setHeader("*prameter*",constant("20170626"))
should work with

*parameter*
Carl

On Wed, Jun 28, 2017 at 4:59 PM sap <[email protected]> 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.
>

Reply via email to