/**
* @param args
*/
public static void main(String[] args) throws Exception{
ApplicationContext context = new ClassPathXmlApplicationContext("/META-INF/spring/integration/http-outbound-config.xml");
Resource s2logo = new ClassPathResource(resourcePath);
Map<String, Object> multipartMap = new HashMap<String, Object>();
multipartMap.put("company", new String[]{"SpringSource", "VMWare"});
multipartMap.put("company-logo", s2logo);
logger.info("Created multipart request: " + multipartMap);
MultipartRequestGateway requestGateway = context.getBean("requestGateway", MultipartRequestGateway.class);