To clarify:
there is no plan to backport bug fix or new features to Java 8 based Camel
releases.
--Andrea Cosentino ----------------------------------Apache Camel PMC
ChairApache Karaf CommitterApache Servicemix PMC MemberEmail:
[email protected]: @oscerd2Github: oscerd
On Wednesday, February 21, 2024 at 11:43:31 AM GMT+1, Andrea Cosentino
<[email protected]> wrote:
It turns out that the correlationId was supported only as consumer header.
I created CAMEL-20444 and opened this PR
https://github.com/apache/camel/pull/13237
For the backport, I see you're using 3.14.10, but 3.14.x won't take any new
release, at least this could be backported to 3.21.x or 3.22.x, but those
releases are JDK 11.
There is now plan to backport any feature or bug fix to Java 8 Camel releases
now.
--Andrea Cosentino ----------------------------------Apache Camel PMC
ChairApache Karaf CommitterApache Servicemix PMC MemberEmail:
[email protected]: @oscerd2Github: oscerd
On Tuesday, February 20, 2024 at 08:08:45 PM GMT+1, Shultz, Dmitry
<[email protected]> wrote:
When I test it using Quarkus (camel-azure-servicebus 4.3.0) I can see the
CamelAzureServiceBusApplicationProperties map is preserved (I see the values on
the receive side), but CamelAzureServiceBusCorrelationId is still null (setting
CamelAzureServiceBusApplicationProperties and CamelAzureServiceBusCorrelationId
at the same time).
In case there would be a fix for the CamelAzureServiceBusCorrelationId, how
likely that is would be ported to the Java 8 Camel?
From: Andrea Cosentino <[email protected]>
Sent: Tuesday, February 20, 2024 9:45 AM
To: Shultz, Dmitry <[email protected]>
Cc: [email protected]
Subject: Re: How to set custom header(s) on message sent to Azure Service Bus
I can try to have a look, but probably with Camel 4. x. Can you double check if
with 4. 0. 4 or 4. 4. 0 is still the case? Il giorno mar 20 feb 2024 alle ore
18: 11 Shultz, Dmitry <Dmitry_Shultz@ kaltire. com> ha scritto: Yes, I followed
this
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
ZjQcmQRYFpfptBannerEnd
I can try to have a look, but probably with Camel 4.x.
Can you double check if with 4.0.4 or 4.4.0 is still the case?
Il giorno mar 20 feb 2024 alle ore 18:11 Shultz, Dmitry
<[email protected]<mailto:[email protected]>> ha scritto:
Yes, I followed this code https://stackoverflow.com/a/73886983
[stackoverflow.com]<https://urldefense.com/v3/__https:/stackoverflow.com/a/73886983__;!!LdWlNaMnLCM!aNdA0OgZVoMVEnVszt4Sxyy4wlFxCMa2Gr__jp3ek9WQQ-do3lvIcVoQL6l3rbq7tGkXhn6GRNsuz2j2_wwp$>
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 <[email protected]<mailto:[email protected]>>
Sent: Tuesday, February 20, 2024 3:17 AM
To: Shultz, Dmitry <[email protected]<mailto:[email protected]>>
Cc: [email protected]<mailto:[email protected]>
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
<[email protected]<mailto:[email protected]>> ha scritto:
Next week would be awesome! Thanks Andrea.
From: Andrea Cosentino <[email protected]<mailto:[email protected]>>
Sent: Friday, February 9, 2024 11:06 AM
To: Shultz, Dmitry <[email protected]<mailto:[email protected]>>
Cc: [email protected]<mailto:[email protected]>
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
<[email protected]<mailto:[email protected]>> 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 <[email protected]<mailto:[email protected]>>
Sent: Wednesday, January 17, 2024 10:18 AM
To: [email protected]<mailto:[email protected]>
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
<[email protected]<mailto:[email protected]>> ha
scritto:
> Have anybody used/successfully set headers on the message sent to Azure
> Service Bus before?
>
>
> Dmitry Shultz
> Senior Software Developer
>
> [cid:[email protected]]
>
> 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: [email protected]<mailto:[email protected]>
> <[email protected]<mailto:[email protected]>>
> 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
>