resourceInfo.properties.putAll(ConfigurationFactory.getSystemProperties(resourceInfo.id, "RESOURCE"));
connectorInfo.outbound.add(resourceInfo);
}
}
InboundResource inbound = resourceAdapter.getInboundResourceAdapter();
if (inbound != null) {
for (MessageListener messageListener : inbound.getMessageAdapter().getMessageListener()) {
MdbContainerInfo mdbContainerInfo = new MdbContainerInfo();
mdbContainerInfo.service = "Container";
if (messageListener.getId() != null) {
mdbContainerInfo.id = messageListener.getId();
} else if (inbound.getMessageAdapter().getMessageListener().size() == 1) {
mdbContainerInfo.id = connectorModule.getModuleId();
} else {
mdbContainerInfo.id = connectorModule.getModuleId() + "-" + messageListener.getMessageListenerType();
}