[ 
https://issues.apache.org/jira/browse/CAMEL-18541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17608669#comment-17608669
 ] 

Babak Vahdat edited comment on CAMEL-18541 at 9/23/22 10:03 AM:
----------------------------------------------------------------

{quote}the producer reads the camel exchange body only and it ignores camel 
headers. Ideally the camel exchange header 
CamelAzureServiceBusApplicationProperties should be mapped to 
serviceBusMessage.applicationProperties
{quote}
See 
[here|https://github.com/apache/camel/blob/main/components/camel-azure/camel-azure-servicebus/src/main/java/org/apache/camel/component/azure/servicebus/ServiceBusProducer.java#L146-L147]
 for what is out there on the main branch.


was (Author: bvahdat):
{quote}he producer reads the camel exchange body only and it ignores camel 
headers. Ideally the camel exchange header 
CamelAzureServiceBusApplicationProperties should be mapped to 
serviceBusMessage.applicationProperties
{quote}
See 
[here|https://github.com/apache/camel/blob/main/components/camel-azure/camel-azure-servicebus/src/main/java/org/apache/camel/component/azure/servicebus/ServiceBusProducer.java#L146-L147]
 for what is out there on the main branch.

> Camel Azure ServiceBusProducer ignore 
> CamelAzureServiceBusApplicationProperties
> -------------------------------------------------------------------------------
>
>                 Key: CAMEL-18541
>                 URL: https://issues.apache.org/jira/browse/CAMEL-18541
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-azure
>            Reporter: Samo Abuhaseera
>            Priority: Major
>             Fix For: 3.x
>
>
> This is related to camel-azure-servicebus component.
> The Azure serviceBus Java SDK has a feature allows sender to send 
> ApplicationProperties (Map<String,Object), which may be used for passing 
> metadata associated with the ServiceBusReceivedMessage, during Service Bus 
> operations. 
> This feature is not present in Camel ServiceBusProducer. It sends only the 
> camel Message body to service bus. There is not a feature to pass meta data 
> such as ApplicationProperties.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to