void setProperties(Map<String, Object> properties);
This method is called to set configuration for the component. It can be called at any time and many times during the server
run-time. The configuration will always contain all entries returned by getDefaults
method but some of them might be overwritten by user provided settings. If the component implementation extends AbstractMessageReceiver
then the implementation of the method should always look like this:
@Override public void setProperties(Map properties) { super.setProperties(properties); int conf_entry_val = (Integer) properties.get(CONF_ENTRY_KEY); }