@@ -0,0 +1,1821 @@
+package fi.nls.oskari.wfs;%0A%0Aimport fi.nls.oskari.cache.JedisSubscriber;%0Aimport fi.nls.oskari.log.LogFactory;%0Aimport fi.nls.oskari.log.Logger;%0Aimport fi.nls.oskari.util.JSONHelper;%0Aimport org.json.JSONObject;%0A%0Apublic class SchemaSubscriber extends JedisSubscriber %7B%0A    private final static Logger log = LogFactory.getLogger(SchemaSubscriber.class);%0A%0A    public static final String CHANNEL = %22schemaInfo%22;%0A%0A    //private static WFSLayerConfigurationService wfsService = new WFSLayerConfigurationServiceIbatisImpl();%0A%0A    /**%0A     * Handles the received message if the channel is %22schemaInfo%22%0A     *%0A     * @param channel%0A     * @param message%0A     */%0A    @Override%0A    public void onMessage(String channel, String message) %7B%0A        if(channel.equals(CHANNEL)) %7B%0A            log.debug(%223. SAVING SCHEMA INFORMATION%22);%0A            JSONObject root = JSONHelper.createJSONObject(message);%0A%0A            String tmpId = JSONHelper.getStringFromJSON(root, %22id%22, null);%0A            if(tmpId == null) %7B%0A                log.error(%22Id was not set%22);%0A                return;%0A            %7D%0A%0A            String status = JSONHelper.getStringFromJSON(root, %22status%22, null);%0A            if(status == null) %7B%0A                log.error(%22Status is not set%22);%0A                status = %22fail - status was not set%22;%0A            %7D%0A%0A%0A            String schema = null;%0A            try %7B%0A                schema = root.getJSONObject(%22schema%22).toString();%0A            %7D catch(Exception e) %7B%0A                log.error(e, %22JSON fail%22);%0A            %7D%0A%0A            if(schema == null && status.equals(%22ok%22)) %7B%0A                log.error(%22Schema is not set%22);%0A                status = %22fail - schema was not set%22;%0A            %7D%0A%0A            //long id = Long.parseLong(tmpId);%0A            //wfsService.updateSchemaInfo(id, schema, status);%0A        %7D%0A    %7D%0A%0A%7D%0A

Add this back, maybe its needed, who knows