Hello! FYI if somebody runs into the same problem: I managed to create a workaround, after finding where the header gets added. It's inside the tibco jms implementation, where all the properties on the message get added as jms headers, so the CamelJmsDeliveryMode int property was added. I created a messageCreatedStrategy implementation, that runs just before tibco code, and removed the int property.
Bálint Baráth <balintbar...@gmail.com> ezt írta (időpont: 2024. szept. 12., Cs, 8:35): > Hello! > > I'm using camel 4.0.6 with java 17 and springboot 3.2.6. > When using camel with JMS and using a request-reply EIP, camel puts some > extra headers on the reply message. The CamelMessageTimestamp can be > removed using the removeHeaders("Camel*") feature, but there is a header > named "*CamelJmsDeliveryMode*". > Even when I remove it with removeHeaders it gets added to the reply. > I wrote a HeaderFilterStrategy, but this header seems to get added > afterwards. > > Is there a way to turn this off, or turn off extra camel headers > altogether? > > Thanks for the reply in advance. > Best regards, > > Bálint > >