JmsConnectorFactoryBean factoryBean = new JmsConnectorFactoryBean();
factoryBean.setName("StandardJms");
factoryBean.setConnectionFactory(getConnectionFactory());
factoryBean.setClientBrokerUri(new URI(getClientBrokerUri()));
factoryBean.afterPropertiesSet();
return factoryBean.getObjectCreating();
}