client.start();
} catch(Exception e) {
LOG.error("Exception", e);
- e.printStackTrace();
}
}
client.send(exchange);
} catch(IOException e) {
LOG.error("IOException", e);
- e.printStackTrace();
}
try {
int exchangeState = exchange.waitForDone();
}
} catch(InterruptedException e) {
LOG.error("InterruptedException", e);
- e.printStackTrace();
} catch(UnsupportedEncodingException e) {
LOG.error("UnsupportedEncodingException", e);
- e.printStackTrace();
}
return null;
}
client.send(exchange);
} catch(IOException e) {
LOG.error("IOException", e);
- e.printStackTrace();
}
try {
}
} catch(InterruptedException e) {
LOG.error("InterruptedException", e);
- e.printStackTrace();
} catch(UnsupportedEncodingException e) {
LOG.error("UnsupportedEncodingException", e);
- e.printStackTrace();
}
return null;
}
client.send(exchange);
} catch(IOException e) {
LOG.error("IOException", e);
- e.printStackTrace();
}
try {
}
} catch(InterruptedException e) {
LOG.error("InterruptedException", e);
- e.printStackTrace();
} catch(UnsupportedEncodingException e) {
LOG.error("InterruptedException", e);
- e.printStackTrace();
}
return null;
}