/**
* @see nexj.core.meta.integration.Channel#update(nexj.core.meta.integration.Channel)
*/
public void update(Channel channel) throws ResourceException
{
JMSConsumerConfig config = new JMSConsumerConfig();
// set new values in consumer config
config.setChannel(m_sName);
config.setMaxPoolSize(((MessageQueue)channel).getMaxReceivers());
// update existing consumer config
GenericResourceAdapter.getInstance(JMSResourceAdapter.class).update(config);
}