org.apache.camel.component.netty
Class NettyConfiguration
java.lang.Object
org.apache.camel.component.netty.NettyConfiguration
- All Implemented Interfaces:
- Cloneable
public class NettyConfiguration
- extends Object
- implements Cloneable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NettyConfiguration
public NettyConfiguration()
copy
public NettyConfiguration copy()
- Returns a copy of this configuration
validateConfiguration
public void validateConfiguration()
parseURI
public void parseURI(URI uri,
Map<String,Object> parameters,
NettyComponent component)
throws Exception
- Throws:
Exception
getCharsetName
public String getCharsetName()
isTcp
public boolean isTcp()
getProtocol
public String getProtocol()
setProtocol
public void setProtocol(String protocol)
getHost
public String getHost()
setHost
public void setHost(String host)
getPort
public int getPort()
setPort
public void setPort(int port)
isKeepAlive
public boolean isKeepAlive()
setKeepAlive
public void setKeepAlive(boolean keepAlive)
isTcpNoDelay
public boolean isTcpNoDelay()
setTcpNoDelay
public void setTcpNoDelay(boolean tcpNoDelay)
isBroadcast
public boolean isBroadcast()
setBroadcast
public void setBroadcast(boolean broadcast)
getConnectTimeout
public long getConnectTimeout()
setConnectTimeout
public void setConnectTimeout(long connectTimeout)
isReuseAddress
public boolean isReuseAddress()
setReuseAddress
public void setReuseAddress(boolean reuseAddress)
isSync
public boolean isSync()
setSync
public void setSync(boolean sync)
isTextline
public boolean isTextline()
setTextline
public void setTextline(boolean textline)
getDecoderMaxLineLength
public int getDecoderMaxLineLength()
setDecoderMaxLineLength
public void setDecoderMaxLineLength(int decoderMaxLineLength)
getDelimiter
public TextLineDelimiter getDelimiter()
setDelimiter
public void setDelimiter(TextLineDelimiter delimiter)
isAutoAppendDelimiter
public boolean isAutoAppendDelimiter()
setAutoAppendDelimiter
public void setAutoAppendDelimiter(boolean autoAppendDelimiter)
getEncoding
public String getEncoding()
setEncoding
public void setEncoding(String encoding)
getSslHandler
public org.jboss.netty.handler.ssl.SslHandler getSslHandler()
setSslHandler
public void setSslHandler(org.jboss.netty.handler.ssl.SslHandler sslHandler)
getDecoders
public List<org.jboss.netty.channel.ChannelHandler> getDecoders()
setDecoders
public void setDecoders(List<org.jboss.netty.channel.ChannelHandler> decoders)
getEncoders
public List<org.jboss.netty.channel.ChannelHandler> getEncoders()
setEncoders
public void setEncoders(List<org.jboss.netty.channel.ChannelHandler> encoders)
getEncoder
public org.jboss.netty.channel.ChannelHandler getEncoder()
setEncoder
public void setEncoder(org.jboss.netty.channel.ChannelHandler encoder)
getDecoder
public org.jboss.netty.channel.ChannelHandler getDecoder()
setDecoder
public void setDecoder(org.jboss.netty.channel.ChannelHandler decoder)
getSendBufferSize
public long getSendBufferSize()
setSendBufferSize
public void setSendBufferSize(long sendBufferSize)
isSsl
public boolean isSsl()
setSsl
public void setSsl(boolean ssl)
isNeedClientAuth
public boolean isNeedClientAuth()
setNeedClientAuth
public void setNeedClientAuth(boolean needClientAuth)
getReceiveBufferSize
public long getReceiveBufferSize()
setReceiveBufferSize
public void setReceiveBufferSize(long receiveBufferSize)
getReceiveBufferSizePredictor
public int getReceiveBufferSizePredictor()
setReceiveBufferSizePredictor
public void setReceiveBufferSizePredictor(int receiveBufferSizePredictor)
getPassphrase
public String getPassphrase()
setPassphrase
public void setPassphrase(String passphrase)
getKeyStoreFile
public File getKeyStoreFile()
setKeyStoreFile
public void setKeyStoreFile(File keyStoreFile)
getTrustStoreFile
public File getTrustStoreFile()
setTrustStoreFile
public void setTrustStoreFile(File trustStoreFile)
getKeyStoreFormat
public String getKeyStoreFormat()
setKeyStoreFormat
public void setKeyStoreFormat(String keyStoreFormat)
getSecurityProvider
public String getSecurityProvider()
setSecurityProvider
public void setSecurityProvider(String securityProvider)
isDisconnect
public boolean isDisconnect()
setDisconnect
public void setDisconnect(boolean disconnect)
isLazyChannelCreation
public boolean isLazyChannelCreation()
setLazyChannelCreation
public void setLazyChannelCreation(boolean lazyChannelCreation)
isTransferExchange
public boolean isTransferExchange()
setTransferExchange
public void setTransferExchange(boolean transferExchange)
isDisconnectOnNoReply
public boolean isDisconnectOnNoReply()
setDisconnectOnNoReply
public void setDisconnectOnNoReply(boolean disconnectOnNoReply)
getNoReplyLogLevel
public org.apache.camel.LoggingLevel getNoReplyLogLevel()
setNoReplyLogLevel
public void setNoReplyLogLevel(org.apache.camel.LoggingLevel noReplyLogLevel)
isAllowDefaultCodec
public boolean isAllowDefaultCodec()
setAllowDefaultCodec
public void setAllowDefaultCodec(boolean allowDefaultCodec)
getAddress
public String getAddress()
setClientPipelineFactory
public void setClientPipelineFactory(ClientPipelineFactory clientPipelineFactory)
getClientPipelineFactory
public ClientPipelineFactory getClientPipelineFactory()
setServerPipelineFactory
public void setServerPipelineFactory(ServerPipelineFactory serverPipelineFactory)
getServerPipelineFactory
public ServerPipelineFactory getServerPipelineFactory()
getWorkerCount
public int getWorkerCount()
setWorkerCount
public void setWorkerCount(int workerCount)
getSslContextParameters
public org.apache.camel.util.jsse.SSLContextParameters getSslContextParameters()
setSslContextParameters
public void setSslContextParameters(org.apache.camel.util.jsse.SSLContextParameters sslContextParameters)
getMaximumPoolSize
public int getMaximumPoolSize()
setMaximumPoolSize
public void setMaximumPoolSize(int maximumPoolSize)
isOrderedThreadPoolExecutor
public boolean isOrderedThreadPoolExecutor()
setOrderedThreadPoolExecutor
public void setOrderedThreadPoolExecutor(boolean orderedThreadPoolExecutor)
getProducerPoolMaxActive
public int getProducerPoolMaxActive()
setProducerPoolMaxActive
public void setProducerPoolMaxActive(int producerPoolMaxActive)
getProducerPoolMinIdle
public int getProducerPoolMinIdle()
setProducerPoolMinIdle
public void setProducerPoolMinIdle(int producerPoolMinIdle)
getProducerPoolMaxIdle
public int getProducerPoolMaxIdle()
setProducerPoolMaxIdle
public void setProducerPoolMaxIdle(int producerPoolMaxIdle)
getProducerPoolMinEvictableIdle
public long getProducerPoolMinEvictableIdle()
setProducerPoolMinEvictableIdle
public void setProducerPoolMinEvictableIdle(long producerPoolMinEvictableIdle)
isProducerPoolEnabled
public boolean isProducerPoolEnabled()
setProducerPoolEnabled
public void setProducerPoolEnabled(boolean producerPoolEnabled)
getBacklog
public int getBacklog()
setBacklog
public void setBacklog(int backlog)
getOptions
public Map<String,Object> getOptions()
setOptions
public void setOptions(Map<String,Object> options)
- Additional options to set on Netty.
Apache Camel