You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/03/09 06:21:02 UTC

[GitHub] [camel-kafka-connector] rgannu commented on issue #323: How to set Map property via the kafka connector configuration

rgannu commented on issue #323:
URL: https://github.com/apache/camel-kafka-connector/issues/323#issuecomment-793448594


   Just for confirming here so that others who step into this problem can work. Things to do for passing map data via connector JSON configuration.
   - Extend the connector using camel archetype.
   - Add a class which contains a HashMap member variable (let's say "mapData').
   - use the HashMap member variable in the connector configuration like
        mapData[<key>]: "<value>"
   
   Works like a gem. Thanks @oscerd for suggesting the camel-archetype.


----------------------------------------------------------------
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:
users@infra.apache.org