example.message.router/src/example/message/router/ExampleMessageRouter.java
@Modified
    public void modified(final Map<String, Object> props)
    {
        m_Logger.debug("Updating server properties.");
        final ExampleMessageRouterConfig config = Configurable
                .createConfigurable(ExampleMessageRouterConfig.class, props);
        m_ServerPort = config.port();
        stopSocketListener();
        try
        {
            startSocketListener();
        }
        catch (final IOException e)
        {
            m_Logger.error(e, "Problem updating server properties, cannot restart socket listener");
        }
        m_Logger.debug("Server properties successfully updated.");
    }
/**
     * Method that is called when configuration properties are updated.
     * 
     * @param props
     *      Map of updated configuration properties.
     */
Method that is called when configuration properties are updated.

@param props
Map of updated configuration properties.
Method that is called when configuration properties are updated . @param props Map of updated configuration properties .
@Modified
    public void modified(final Map<String, Object> props)
    {
        m_Logger.debug("Updating server properties.");
        final ExampleMessageRouterConfig config = Configurable
                .createConfigurable(ExampleMessageRouterConfig.class, props);
        m_ServerPort = config.port();
        stopSocketListener();
        try
        {
            startSocketListener();
        }
        catch (final IOException e)
        {
            m_Logger.error(e, "Problem updating server properties, cannot restart socket listener");
        }
        m_Logger.debug("Server properties successfully updated.");
    }
@ Modified public void modified ( final Map < String , Object > props ) { m_Logger . debug ( "Updating server properties." ) ; final ExampleMessageRouterConfig config = Configurable . createConfigurable ( ExampleMessageRouterConfig . class , props ) ; m_ServerPort = config . port ( ) ; stopSocketListener ( ) ; try { startSocketListener ( ) ; } catch ( final IOException e ) { m_Logger . error ( e , "Problem updating server properties, cannot restart socket listener" ) ; } m_Logger . debug ( "Server properties successfully updated." ) ; }
Method that is called when configuration properties are updated.
Method that is called when configuration properties are updated .