"<attribute name=\"serializationtype\" isParam=\"true\">jboss</attribute>\n" +
"<attribute name=\"serializationtype\" isParam=\"true\">jms</attribute>\n" +
   private ObjectName deployConnector(int port, String name) throws Exception   {      String mbeanConfig =         "<mbean code=\"org.jboss.remoting.transport.Connector\"\n" +         " name=\"" +name + "\"\n" +         " display-name=\"Socket transport Connector\">\n"  +                "<depends>jboss.messaging:service=NetworkRegistry</depends>\n" +     "</mbean>";            String config =         "<attribute name=\"Configuration\">\n" +         "<config>\n" +            "<invoker transport=\"socket\">\n" +                             "<attribute name=\"marshaller\" isParam=\"true\">org.jboss.jms.server.remoting.JMSWireFormat</attribute>\n" +               "<attribute name=\"unmarshaller\" isParam=\"true\">org.jboss.jms.server.remoting.JMSWireFormat</attribute>\n" +               "<attribute name=\"serializationtype\" isParam=\"true\">jboss</attribute>\n" +               "<attribute name=\"dataType\" isParam=\"true\">jms</attribute>\n" +               "<attribute name=\"serverBindPort\">" + port +"</attribute>\n" +               "<attribute name=\"socket.check_connection\" isParam=\"true\">false</attribute>\n" +               "<attribute name=\"timeout\">0</attribute>\n" +               "<attribute name=\"serverBindAddress\">localhost</attribute>\n" +               "<attribute name=\"leasePeriod\">20000</attribute>\n" +              "</invoker>\n" +            "<handlers>\n" +               "<handler subsystem=\"JMS\">org.jboss.jms.server.remoting.JMSServerInvocationHandler</handler>\n" +            "</handlers>\n" +         "</config>\n" +      "</attribute>\n";            ObjectName on = ServerManagement.deploy(mbeanConfig);            ServerManagement.setAttribute(on, "Configuration", config);                  ServerManagement.invoke(on, "create", new Object[0], new String[0]);            ServerManagement.invoke(on, "start", new Object[0], new String[0]);            return on;   }