{
if(factory.hasDefined(INBOUND_CONFIG)) {
final ModelNode inboundConfigs = factory.get(INBOUND_CONFIG);
if (inboundConfigs.getType() == ModelType.LIST) {
writer.writeStartElement(Element.INBOUND_CONFIG.getLocalName());
for (ModelNode config : inboundConfigs.asList()) {
if (config.isDefined()) {
CommonAttributes.USE_JNDI.marshallAsElement(config, writer);
CommonAttributes.JNDI_PARAMS.marshallAsElement(config, writer);
CommonAttributes.USE_LOCAL_TX.marshallAsElement(config, writer);
CommonAttributes.SETUP_ATTEMPTS.marshallAsElement(config, writer);