List of usage examples for org.apache.http.nio.reactor IOReactorException printStackTrace
public void printStackTrace()
From source file:org.apache.servicemix.wsn.jms.JmsSubscription.java
public JmsSubscription(String name) { super(name);//w w w .j a v a2s. c om // factory = new JaxWsProxyFactoryBean(); topicConverter = new JmsTopicExpressionConverter(); if (asyClient == null) { try { asyClient = new DefaultHttpAsyncClient(); } catch (IOReactorException e) { // TODO Auto-generated catch block e.printStackTrace(); } asyClient.start(); } for (int i = asyClientList.size(); i < 5; i++) { try { HttpAsyncClient asyCli = new DefaultHttpAsyncClient(); asyCli.start(); asyClientList.add(asyCli); } catch (IOReactorException e) { // TODO Auto-generated catch block e.printStackTrace(); } } // notifyObserver = new NotifyObserver(); // notifyObserver.addObserver(RtMgr.getInstance()); // pool1 = Executors.newFixedThreadPool(5); //? // pool2 = Executors.newFixedThreadPool(5); //? // pool1 = new ThreadPool(2); // pool2 = new ThreadPool(30); // r = new PushClient(); }