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


   You can do exactly as in your PR, in the archetype add
   
   ```
   package org.apache.camel.component.rabbitmq;
   
   import java.util.HashMap;
   import java.util.Map;
   
   public class SimpleDataHolderBean {
       private Map<String, Object> mapData;
   
       public SimpleDataHolderBean() {
           this.mapData = new HashMap<>();
       }
   
       public Map<String, Object> getMapData() {
           return mapData;
       }
   
       public void setMapData(Map<String, Object> mapData) {
           this.mapData = mapData;
       }
   
       @Override
       public String toString() {
           return "SimpleDataHolderBean{" +
                  "mapData=" + mapData +
                  '}';
       }
   }
   ```
   
   and use it as class.


----------------------------------------------------------------
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