cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tim yesno <tim.ye...@gmail.com>
Subject CXF 2.3.0: Shutdown a client which is connected with SOAPoverJMS
Date Wed, 08 Sep 2010 12:23:57 GMT
Hello

I have a client, the following source code:
        ApplicationContext applicationContext = new
ClassPathXmlApplicationContext(APPL_CONFIG);
        JaxWsProxyFactoryBean factory =
applicationContext.getBean(CLIENT_FACTORY, JaxWsProxyFactoryBean.class);
        MyServiceInterface client = (MyServiceInterface)factory.create();
        String reply = client.greetMeString("Hans");
        LOGGER.info(reply);
        reply = client.greetMeString("Ruedi");
        LOGGER.info(reply);

How can I shutdown or disconnect from the broker without making an exception
on the service side (not System.exit()!)?

Thanks for your help.

Regards

tim

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message