@@ -0,0 +1,1695 @@
+package org.powertac.server;%0A%0Aimport java.lang.reflect.InvocationTargetException;%0A%0Aimport javax.jms.JMSException;%0Aimport javax.jms.Message;%0Aimport javax.jms.MessageListener;%0Aimport javax.jms.TextMessage;%0A%0Aimport org.apache.commons.beanutils.PropertyUtils;%0Aimport org.apache.commons.logging.Log;%0Aimport org.apache.commons.logging.LogFactory;%0Aimport org.powertac.common.Broker;%0Aimport org.powertac.common.XMLMessageConverter;%0Aimport org.powertac.common.interfaces.BrokerProxy;%0Aimport org.springframework.beans.factory.annotation.Autowired;%0Aimport org.springframework.stereotype.Service;%0A%0A@Service%0Apublic class ServerMessageReceiver implements MessageListener%0A%7B%0A  private static final Log log = LogFactory.getLog(BrokerProxyService.class);%0A  %0A  @Autowired%0A  XMLMessageConverter converter;%0A  %0A  @Autowired %0A  BrokerProxy brokerProxy;%0A%0A  @Override%0A  public void onMessage (Message message)%0A  %7B%0A    if (message instanceof TextMessage) %7B%0A      try %7B%0A        onMessage(((TextMessage) message).getText());%0A      %7D catch (JMSException e) %7B%0A        log.error(%22failed to extract text from TextMessage%22, e);%0A      %7D%0A    %7D%0A  %7D%0A%0A  private void onMessage (String xml) %7B%0A    Object message = converter.fromXML(xml);%0A    Broker broker = null;%0A    try %7B%0A      broker = (Broker)PropertyUtils.getSimpleProperty(message, %22broker%22);%0A      brokerProxy.routeMessage(broker, message);%0A    %7D%0A    catch (IllegalAccessException e) %7B%0A      log.error(%22Failed to extract broker from message%22, e);%0A    %7D%0A    catch (InvocationTargetException e) %7B%0A      log.error(%22Failed to extract broker from message%22, e);%0A    %7D%0A    catch (NoSuchMethodException e) %7B%0A      log.error(%22Failed to extract broker from message%22, e);%0A    %7D    %0A  %7D%0A%7D%0A

Add beanutils dependency