rgannu commented on pull request #4371:
URL: https://github.com/apache/camel/pull/4371#issuecomment-718032898


   > It has been removed 
[d376711#diff-b2917cb1b72d2ff1600107b5fd43fcd873c1b2dd8bcc7cb165259b3b3782d410](https://github.com/apache/camel/commit/d376711c170500364025064799d8fcf6907c2fde#diff-b2917cb1b72d2ff1600107b5fd43fcd873c1b2dd8bcc7cb165259b3b3782d410)
   
   ok. I wasn't aware of that.. 
   From sink connector json configuration, how do I pass in the map?
   I couldn't do that with the following configuration.. 
   
   ```
       "camel.sink.endpoint.additionalProperties": "#bean:addProperties",
       "camel.beans.addProperties": "#class:java.util.HashMap",
       "camel.beans.addProperties[CamelRabbitmqContentType]": 
"${file:/secrets/amqp.properties:analytics.content.type}",
       "camel.beans.addProperties[CamelRabbitmqContentEncoding]": 
"${file:/secrets/amqp.properties:analytics.content.encoding}",
       "camel.beans.addProperties[CamelRabbitmqAppId]": 
"${file:/secrets/amqp.properties:analytics.app.id}",
   
       "camel.sink.endpoint.additionalHeaders": "#bean:addHeaders",
       "camel.beans.addHeaders": "#class:java.util.HashMap",
       "camel.beans.addHeaders[MSG_TYPE]": 
"${file:/secrets/amqp.properties:analytics.msg.type}",
       "camel.beans.addHeaders[MSG_ORIGINATOR]": 
"${file:/secrets/amqp.properties:analytics.msg.originator}",
       "camel.beans.addHeaders[DESTINATION]": 
"${file:/secrets/amqp.properties:analytics.destination}",
   
   ```
   
   It is not getting set.. Something that I miss ?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to