code: private Map<String, ActivationSpecImpl> createInboundMapping(InboundResourceAdapter ira, ClassLoader cl)
        throws Exception
     {
        if (ira != null)
        {
           Map<String, ActivationSpecImpl> result = new HashMap<>();
  
           for (org.ironjacamar.common.api.metadata.spec.MessageListener ml :
                   ira.getMessageadapter().getMessagelisteners())
           {
              String type = ml.getMessagelistenerType().getValue();
              org.ironjacamar.common.api.metadata.spec.Activationspec as = ml.getActivationspec();
              String clzName = as.getActivationspecClass().getValue();
              Class<?> clz = Class.forName(clzName, true, cl);
              Map<String, Class<?>> configProperties = createPropertyMap(clz);
              Set<String> requiredConfigProperties = new HashSet<>();
  
              if (as.getRequiredConfigProperties() != null)
              {
                 for (org.ironjacamar.common.api.metadata.spec.RequiredConfigProperty rcp :
                         as.getRequiredConfigProperties())
                 {
                    requiredConfigProperties.add(rcp.getConfigPropertyName().getValue());
                 }
              }
              validationObj.add(new ValidateClass(Key.ACTIVATION_SPEC, clz, as.getConfigProperties()));
  
              ActivationSpecImpl asi = new ActivationSpecImpl(clzName, configProperties, requiredConfigProperties);
              if (!result.containsKey(type))
                 result.put(type, asi);
           }
           
           return result;
        }
  
        return null;
     }
docs: Create an inbound mapping
  @param ira The inbound resource adapter definition
  @param cl The class loader
  @return The mapping
  @exception Exception Thrown in case of an error