code: public InboundResourceAdapter merge(MergeableMetadata<?> jmd) throws Exception
     {
        if (jmd instanceof InboundResourceAdapterImpl)
        {
           InboundResourceAdapterImpl input = (InboundResourceAdapterImpl) jmd;
           String newId = this.id == null ? input.id : this.id;
  
           Messageadapter newMessageadapter = this.messageadapter == null ? input.messageadapter : this.messageadapter
                 .merge(input.messageadapter);
           return new InboundResourceAdapterImpl(newMessageadapter, newId);
        }
        else
        {
           return this;
        }
     }
docs: {@inheritDoc}