You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Vikas Jaiswal <vi...@saksoft.com> on 2020/12/24 14:19:15 UTC

https://camel.apache.org/components/latest/eips/setHeader-eip.html

Hi,
    Set Header doesn't seem to work for me. In the documentation name option is given but in actual in takes headerName , but it also errors out. I have tired with version 3.6.0 & 3.7.0

Warm Regards,

Vikas Jaiswal
Lead Consultant
[cid:image001.png@01D67243.124E3960]
T: +91 2042006145 |M: +91 9371626126 |Skype: vikasdnjaiswal
W: www.saksoft.com<http://www.saksoft.com/>  |  www.acuma.co.uk<http://www.acuma.co.uk/>  |  www.360logica.com<http://www.360logica.com/> |  www.dreamorbit.com
[Description: cid:image003.jpg@01D2806E.41A0F0B0]<https://www.facebook.com/SaksoftLtd/>[Description: cid:image004.jpg@01D2806E.41A0F0B0]<https://twitter.com/SaksoftLtd> [Description: cid:image005.jpg@01D2806E.41A0F0B0] <https://www.linkedin.com/company/saksoft?trk=fc_badge>  [Description: cid:image006.jpg@01D2806E.41A0F0B0] <https://plus.google.com/112658490949190172294/about>  [Description: cid:image007.jpg@01D2806E.41A0F0B0] <https://www.youtube.com/channel/UC-eG4ImglhCtStAX45kGQrA>
Innovation   Customer focus   Openness   Respect   Enterprising



RE: https://camel.apache.org/components/latest/eips/setHeader-eip.html

Posted by Vikas Jaiswal <vi...@saksoft.com>.
Hi Claus,
                Yes it works.
Regards,
Vikas

-----Original Message-----
From: Claus Ibsen [mailto:claus.ibsen@gmail.com] 
Sent: 27 December 2020 16:58
To: users@camel.apache.org
Subject: Re: https://camel.apache.org/components/latest/eips/setHeader-eip.html

CAUTION: DO NOT click links, open attachments, or provide sensitive information if the sender is unknown

Hi

For Camel 3 its <setHeader name="xxx" ...
For Camel 2 its <setHeader headerName="xxx" ...



On Thu, Dec 24, 2020 at 3:19 PM Vikas Jaiswal <vi...@saksoft.com> wrote:

> Hi,
>
>     Set Header doesn’t seem to work for me. In the documentation name
> option is given but in actual in takes headerName , but it also errors out.
> I have tired with version 3.6.0 & 3.7.0
>
>
>
> Warm Regards,
>
>
>
> *Vikas Jaiswal*
>
> Lead Consultant
>
> [image: cid:image001.png@01D67243.124E3960]
>
> *T: *+91 2042006145 |*M:* +91 9371626126 |*Skype*: vikasdnjaiswal
> *W:* www.saksoft.com  |  www.acuma.co.uk  |  www.360logica.com |
> www.dreamorbit.com
>
> [image: Description: cid:image003.jpg@01D2806E.41A0F0B0]
> <https://www.facebook.com/SaksoftLtd/>[image: Description:
> cid:image004.jpg@01D2806E.41A0F0B0] <https://twitter.com/SaksoftLtd> [image:
> Description: cid:image005.jpg@01D2806E.41A0F0B0]
> <https://www.linkedin.com/company/saksoft?trk=fc_badge> [image:
> Description: cid:image006.jpg@01D2806E.41A0F0B0]
> <https://plus.google.com/112658490949190172294/about> [image:
> Description: cid:image007.jpg@01D2806E.41A0F0B0]
> <https://www.youtube.com/channel/UC-eG4ImglhCtStAX45kGQrA>
>
> *I*nnovation   *C*ustomer focus   *O*penness   *R*espect   *E*nterprising
>
>
>
>
>


--
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2
Help reduce your carbon footprint | Think before you print. This e-mail and any attachments are confidential and intended solely for the addressee and may also be privileged or exempt from disclosure under applicable law. If you are not the addressee, or have received this e-mail in error, please notify the sender immediately, delete it from your system and do not copy, disclose or otherwise act upon any part of this e-mail or its attachments. Any opinion or other information in this e-mail or its attachments that does not relate to the business of the Saksoft Group is personal to the sender and is not given or endorsed by the Saksoft Group. Any data that you provide within the context of your email you will have done so with your own consent and GDPR controls will be applied whilst the data is controlled or processed within the Saksoft Group.





Re: https://camel.apache.org/components/latest/eips/setHeader-eip.html

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

For Camel 3 its <setHeader name="xxx" ...
For Camel 2 its <setHeader headerName="xxx" ...



On Thu, Dec 24, 2020 at 3:19 PM Vikas Jaiswal <vi...@saksoft.com> wrote:

> Hi,
>
>     Set Header doesn’t seem to work for me. In the documentation name
> option is given but in actual in takes headerName , but it also errors out.
> I have tired with version 3.6.0 & 3.7.0
>
>
>
> Warm Regards,
>
>
>
> *Vikas Jaiswal*
>
> Lead Consultant
>
> [image: cid:image001.png@01D67243.124E3960]
>
> *T: *+91 2042006145 |*M:* +91 9371626126 |*Skype*: vikasdnjaiswal
> *W:* www.saksoft.com  |  www.acuma.co.uk  |  www.360logica.com |
> www.dreamorbit.com
>
> [image: Description: cid:image003.jpg@01D2806E.41A0F0B0]
> <https://www.facebook.com/SaksoftLtd/>[image: Description:
> cid:image004.jpg@01D2806E.41A0F0B0] <https://twitter.com/SaksoftLtd> [image:
> Description: cid:image005.jpg@01D2806E.41A0F0B0]
> <https://www.linkedin.com/company/saksoft?trk=fc_badge> [image:
> Description: cid:image006.jpg@01D2806E.41A0F0B0]
> <https://plus.google.com/112658490949190172294/about> [image:
> Description: cid:image007.jpg@01D2806E.41A0F0B0]
> <https://www.youtube.com/channel/UC-eG4ImglhCtStAX45kGQrA>
>
> *I*nnovation   *C*ustomer focus   *O*penness   *R*espect   *E*nterprising
>
>
>
>
>


-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

RE: https://camel.apache.org/components/latest/eips/setHeader-eip.html

Posted by Vikas Jaiswal <vi...@saksoft.com>.
Hi.... just an update on this...documentation is correct it takes 'name' and not 'headerName' as suggested by IDE, even though 'name' shows error in IDE.. it works...I am using eclipse. Has it got to do with some eclipse settings?

Regards,
Vikas

From: Vikas Jaiswal
Sent: 24 December 2020 19:49
To: 'users@camel.apache.org'
Subject: https://camel.apache.org/components/latest/eips/setHeader-eip.html

Hi,
    Set Header doesn't seem to work for me. In the documentation name option is given but in actual in takes headerName , but it also errors out. I have tired with version 3.6.0 & 3.7.0

Warm Regards,

Vikas Jaiswal
Lead Consultant
[cid:image001.png@01D67243.124E3960]
T: +91 2042006145 |M: +91 9371626126 |Skype: vikasdnjaiswal
W: www.saksoft.com<http://www.saksoft.com/>  |  www.acuma.co.uk<http://www.acuma.co.uk/>  |  www.360logica.com<http://www.360logica.com/> |  www.dreamorbit.com
[Description: cid:image003.jpg@01D2806E.41A0F0B0]<https://www.facebook.com/SaksoftLtd/>[Description: cid:image004.jpg@01D2806E.41A0F0B0]<https://twitter.com/SaksoftLtd> [Description: cid:image005.jpg@01D2806E.41A0F0B0] <https://www.linkedin.com/company/saksoft?trk=fc_badge>  [Description: cid:image006.jpg@01D2806E.41A0F0B0] <https://plus.google.com/112658490949190172294/about>  [Description: cid:image007.jpg@01D2806E.41A0F0B0] <https://www.youtube.com/channel/UC-eG4ImglhCtStAX45kGQrA>
Innovation   Customer focus   Openness   Respect   Enterprising