Hi Oh I wasnt too specific about exchange pattern on the producer side, you use it in the EIP itself, eg
to(ExchangePattern.InOut, "jms:cheese") The endpoint parameter exchangePattern is only on the consumer when the Exchange is created to set the pattern. On Wed, Sep 9, 2020 at 3:35 PM Mikhail Lukyanov <[email protected]> wrote: > > It turns out the exchangePatter for JMS and ActiveMQ components also needs > to be fixed to *common* type? > > > > > > ср, 9 сент. 2020 г. в 15:31, Claus Ibsen <[email protected]>: > > > Hi > > > > exchange pattern can be both consumer or producer. Usually you dont use it > > on consumer as the component sets the most appropriate value. > > On the producer it can be used for InOnly or InOut message pattern for > > components that support both style. (such as JMS) > > > > replyTo was wrong in JMS - fixing that to be a common option. > > > > On Wed, Sep 9, 2020 at 2:17 PM Mikhail Lukyanov <[email protected]> > > wrote: > > > > > The same situation with replyTo > > > > > > In Table in is only consumer parameter > > > > > > [image: image.png] > > > > > > But in examples this parameter is used in producer > > > [image: image.png] > > > > > > ср, 9 сент. 2020 г. в 14:32, Mikhail Lukyanov <[email protected]>: > > > > > >> Hello everyone. > > >> > > >> Why in docs > > https://camel.apache.org/components/latest/jms-component.html path > > >> paraments exchangePattern specified only by the consumer > > >> [image: image.png] > > >> although in the same place it is indicated in the example by the > > producer > > >> [image: image.png] > > >> Is this parameter a consumer-only parameter or can it also be specified > > >> in the producer? > > >> > > >> > > >> -- > > >> *With best regards, Lukyanov Mikhail* > > >> *Tel: **+7-909-69-71-547* > > >> > > > > > > > > > -- > > > *With best regards, Lukyanov Mikhail* > > > *Tel: **+7-909-69-71-547* > > > > > > > > > -- > > Claus Ibsen > > ----------------- > > http://davsclaus.com @davsclaus > > Camel in Action 2: https://www.manning.com/ibsen2 > > > > > -- > *With best regards, Lukyanov Mikhail* > *Tel: **+7-909-69-71-547* -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2
