factory.setServiceClass(Greeter.class);
factory.setAddress("jms://");
JMSConfiguration jmsConfig = new JMSConfiguration();
ConnectionFactory connectionFactory
= new PooledConnectionFactory(broker.getBrokerURL());
jmsConfig.setConnectionFactory(connectionFactory);
jmsConfig.setTargetDestination("greeter.queue.noaop");
jmsConfig.setPubSubDomain(false);
jmsConfig.setUseJms11(true);