org.apache.camel.component.mina
Class MinaConfiguration

java.lang.Object
  extended by org.apache.camel.component.mina.MinaConfiguration
All Implemented Interfaces:
Cloneable

public class MinaConfiguration
extends Object
implements Cloneable

Mina configuration


Constructor Summary
MinaConfiguration()
           
 
Method Summary
 MinaConfiguration copy()
          Returns a copy of this configuration
 String getCharsetName()
           
 org.apache.mina.filter.codec.ProtocolCodecFactory getCodec()
           
 int getDecoderMaxLineLength()
           
 int getEncoderMaxLineLength()
           
 String getEncoding()
           
 List<org.apache.mina.common.IoFilter> getFilters()
           
 String getHost()
           
 LoggingLevel getNoReplyLogLevel()
           
 int getPort()
           
 String getProtocol()
           
 TextLineDelimiter getTextlineDelimiter()
           
 long getTimeout()
           
 boolean isAllowDefaultCodec()
           
 boolean isDatagramProtocol()
           
 boolean isDisconnect()
           
 boolean isDisconnectOnNoReply()
           
 boolean isLazySessionCreation()
           
 boolean isMinaLogger()
           
 boolean isSync()
           
 boolean isTextline()
           
 boolean isTransferExchange()
           
 void setAllowDefaultCodec(boolean allowDefaultCodec)
           
 void setCodec(org.apache.mina.filter.codec.ProtocolCodecFactory codec)
           
 void setDecoderMaxLineLength(int decoderMaxLineLength)
           
 void setDisconnect(boolean disconnect)
           
 void setDisconnectOnNoReply(boolean disconnectOnNoReply)
           
 void setEncoderMaxLineLength(int encoderMaxLineLength)
           
 void setEncoding(String encoding)
           
 void setFilters(List<org.apache.mina.common.IoFilter> filters)
           
 void setHost(String host)
           
 void setLazySessionCreation(boolean lazySessionCreation)
           
 void setMinaLogger(boolean minaLogger)
           
 void setNoReplyLogLevel(LoggingLevel noReplyLogLevel)
           
 void setPort(int port)
           
 void setProtocol(String protocol)
           
 void setSync(boolean sync)
           
 void setTextline(boolean textline)
           
 void setTextlineDelimiter(TextLineDelimiter textlineDelimiter)
           
 void setTimeout(long timeout)
           
 void setTransferExchange(boolean transferExchange)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MinaConfiguration

public MinaConfiguration()
Method Detail

copy

public MinaConfiguration copy()
Returns a copy of this configuration


getCharsetName

public String getCharsetName()

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)

isSync

public boolean isSync()

setSync

public void setSync(boolean sync)

isTextline

public boolean isTextline()

setTextline

public void setTextline(boolean textline)

getTextlineDelimiter

public TextLineDelimiter getTextlineDelimiter()

setTextlineDelimiter

public void setTextlineDelimiter(TextLineDelimiter textlineDelimiter)

getCodec

public org.apache.mina.filter.codec.ProtocolCodecFactory getCodec()

setCodec

public void setCodec(org.apache.mina.filter.codec.ProtocolCodecFactory codec)

getEncoding

public String getEncoding()

setEncoding

public void setEncoding(String encoding)

getTimeout

public long getTimeout()

setTimeout

public void setTimeout(long timeout)

isLazySessionCreation

public boolean isLazySessionCreation()

setLazySessionCreation

public void setLazySessionCreation(boolean lazySessionCreation)

isTransferExchange

public boolean isTransferExchange()

setTransferExchange

public void setTransferExchange(boolean transferExchange)

setEncoderMaxLineLength

public void setEncoderMaxLineLength(int encoderMaxLineLength)

getEncoderMaxLineLength

public int getEncoderMaxLineLength()

setDecoderMaxLineLength

public void setDecoderMaxLineLength(int decoderMaxLineLength)

getDecoderMaxLineLength

public int getDecoderMaxLineLength()

isMinaLogger

public boolean isMinaLogger()

setMinaLogger

public void setMinaLogger(boolean minaLogger)

getFilters

public List<org.apache.mina.common.IoFilter> getFilters()

setFilters

public void setFilters(List<org.apache.mina.common.IoFilter> filters)

isDatagramProtocol

public boolean isDatagramProtocol()

setAllowDefaultCodec

public void setAllowDefaultCodec(boolean allowDefaultCodec)

isAllowDefaultCodec

public boolean isAllowDefaultCodec()

isDisconnect

public boolean isDisconnect()

setDisconnect

public void setDisconnect(boolean disconnect)

isDisconnectOnNoReply

public boolean isDisconnectOnNoReply()

setDisconnectOnNoReply

public void setDisconnectOnNoReply(boolean disconnectOnNoReply)

getNoReplyLogLevel

public LoggingLevel getNoReplyLogLevel()

setNoReplyLogLevel

public void setNoReplyLogLevel(LoggingLevel noReplyLogLevel)


Apache CAMEL