* @throws JMSException
*/
public TransportServerChannel create(WireFormat wireFormat, URI bindAddress) throws JMSException {
try {
EmberServiceController controller = getController();
ByteArrayServerService service = new ByteArrayServerService(getContext(), getAcceptPoolingStrategy(), getIoPoolingStrategy(), bindAddress.getHost(), bindAddress.getPort());
controller.addService(service);
EmberTransportServerChannel answer = new EmberTransportServerChannel(wireFormat, bindAddress, getContext(), controller);
service.setListener(answer);
return answer;
}
catch (IOException e) {
throw createJMSException("Initialization of TransportServerChannel failed: ", e);
}