Yes, I followed this code https://stackoverflow.com/a/73886983 and nothing ended up being set. Also, as I said setting the ServiceBusConstants.CORRELATION_ID has no effect when checked at the destination.
From: Andrea Cosentino <anco...@gmail.com> Sent: Tuesday, February 20, 2024 3:17 AM To: Shultz, Dmitry <dmitry_shu...@kaltire.com> Cc: users@camel.apache.org Subject: Re: How to set custom header(s) on message sent to Azure Service Bus I find some time this morning and sorry for the long delay. Did you had a look at the ServiceBusConstants. APPLICATION_PROPERTIES? They are meant for this purpose. Il giorno ven 9 feb 2024 alle ore 21: 20 Shultz, Dmitry <Dmitry_Shultz@ kaltire. com> ZjQcmQRYFpfptBannerStart This Message Is From an External Sender ZjQcmQRYFpfptBannerEnd I find some time this morning and sorry for the long delay. Did you had a look at the ServiceBusConstants.APPLICATION_PROPERTIES? They are meant for this purpose. Il giorno ven 9 feb 2024 alle ore 21:20 Shultz, Dmitry <dmitry_shu...@kaltire.com<mailto:dmitry_shu...@kaltire.com>> ha scritto: Next week would be awesome! Thanks Andrea. From: Andrea Cosentino <anco...@gmail.com<mailto:anco...@gmail.com>> Sent: Friday, February 9, 2024 11:06 AM To: Shultz, Dmitry <dmitry_shu...@kaltire.com<mailto:dmitry_shu...@kaltire.com>> Cc: users@camel.apache.org<mailto:users@camel.apache.org> Subject: Re: How to set custom header(s) on message sent to Azure Service Bus Sorry, i still have to look at this. I hope to find some time next week. Il ven 9 feb 2024, 19: 47 Shultz, Dmitry <Dmitry_Shultz@ kaltire. com> ha scritto: Hi Andrea, Thanks for getting back to me! JFYI, I’m trying to set the ServiceBusConstants. CORRELATION_ID ZjQcmQRYFpfptBannerStart This Message Is From an External Sender ZjQcmQRYFpfptBannerEnd Sorry, i still have to look at this. I hope to find some time next week. Il ven 9 feb 2024, 19:47 Shultz, Dmitry <dmitry_shu...@kaltire.com<mailto:dmitry_shu...@kaltire.com>> ha scritto: Hi Andrea, Thanks for getting back to me! JFYI, I’m trying to set the ServiceBusConstants.CORRELATION_ID header on the exchange before sending it to service bus and it doesn’t do anything (no correlationId on the receiving side) as well. Looks like all the headers being reset by something. Dmitry From: Andrea Cosentino <anco...@gmail.com<mailto:anco...@gmail.com>> Sent: Wednesday, January 17, 2024 10:18 AM To: users@camel.apache.org<mailto:users@camel.apache.org> Subject: Re: How to set custom header(s) on message sent to Azure Service Bus I'll try to check tomorrow and get back to you. Sorry for the late reply Il mer 17 gen 2024, 19: 08 Shultz, Dmitry <Dmitry_Shultz@ kaltire. com> ha scritto: > Have anybody used/successfully set headers on the message sent to Azure > ZjQcmQRYFpfptBannerStart This Message Is From an External Sender ZjQcmQRYFpfptBannerEnd I'll try to check tomorrow and get back to you. Sorry for the late reply Il mer 17 gen 2024, 19:08 Shultz, Dmitry <dmitry_shu...@kaltire.com<mailto:dmitry_shu...@kaltire.com>> ha scritto: > Have anybody used/successfully set headers on the message sent to Azure > Service Bus before? > > > Dmitry Shultz > Senior Software Developer > > [cid:image001.png@01D051C6.BA585530] > > 1540 Kalamalka Lake Rd. > Vernon, BC V1T 6V2 > t: 1-250-541-5447 > KalTire.com > > > ________________________________ > From: Shultz, Dmitry > Sent: 03 January 2024 19:08 > To: users@camel.apache.org<mailto:users@camel.apache.org> > <users@camel.apache.org<mailto:users@camel.apache.org>> > Subject: How to set custom header(s) on message sent to Azure Service Bus > > > Hi, > > > > I’m following this > https://urldefense.com/v3/__https://stackoverflow.com/questions/73886170/how-to-add-custom-properties-or-label-subject-for-azure-servicebus-topic-message__;!!LdWlNaMnLCM!fvRT9rucP7nxRYY_uiE0J6DPxhFrtSjgdkqKbHDou8H7hkTvafcdbNFZ5tPRrz-14z6qcJdtX5OqP-tCd5TD$<https://urldefense.com/v3/__https:/stackoverflow.com/questions/73886170/how-to-add-custom-properties-or-label-subject-for-azure-servicebus-topic-message__;!!LdWlNaMnLCM!fvRT9rucP7nxRYY_uiE0J6DPxhFrtSjgdkqKbHDou8H7hkTvafcdbNFZ5tPRrz-14z6qcJdtX5OqP-tCd5TD$> > trying to set some custom headers for messages sent to Azure Service Bus, > but when I read the same message from the service bus it has no custom > headers and empty CamelAzureServiceBusApplicationProperties map. Using > Camel 3.14.10 > > > > Is there a bug or I’m doing/expecting something wrong? > > > > Thanks, > > Dmitry >