throw new IllegalArgumentException("transferExchange=true is not supported for datagram protocol");
}
address = new InetSocketAddress(configuration.getHost(), configuration.getPort());
connector = new NioDatagramConnector(
new NioProcessor(this.getEndpoint().getCamelContext().getExecutorServiceManager().newDefaultThreadPool(this, "MinaDatagramConnector")));
connectorConfig = connector.getSessionConfig();
connector.getFilterChain().addLast("threadPool",
new ExecutorFilter(this.getEndpoint().getCamelContext().getExecutorServiceManager().newDefaultThreadPool(this, "MinaThreadPool")));
if (minaLogger) {
connector.getFilterChain().addLast("logger", new LoggingFilter());