component options setting vs exchange 's in /out header setting

2019-11-16 Thread Wang Yan
For some component, I could set key and value at the exchange's in or out's header instead of using the component's option at the endpoint . For me, it is not very clearly documented, which options could be set at in/out /header set option at endpoint URI from(xxx) .inOut().to("activemq:queue:fo

Re: component options setting vs exchange 's in /out header setting

2019-11-16 Thread Claus Ibsen
Hi No you cannot set component or endpoint options as headers. Only a limited number of headers can control the endpoints, and they are documented in the components that support this. Once aspect which we don't have but which would have been great, was that these headers was also marked up with a

Re: component options setting vs exchange 's in /out header setting

2019-11-16 Thread Gmail
To make it simple to use, if the options provided, the used in URL. If not, then you can use it in headers Sent from Weiquan > On Nov 16, 2019, at 6:59 AM, Claus Ibsen wrote: > > Hi > > No you cannot set component or endpoint options as headers. Only a > limited number of headers can contro