org.apache.camel.component.kestrel
Class KestrelConfiguration

java.lang.Object
  extended by org.apache.camel.component.kestrel.KestrelConfiguration
All Implemented Interfaces:
Cloneable

public class KestrelConfiguration
extends Object
implements Cloneable

Represents the configuration of the Kestrel component and/or endpoint.


Field Summary
static int DEFAULT_KESTREL_PORT
          The default port on which kestrel runs
 
Constructor Summary
KestrelConfiguration()
           
 
Method Summary
 KestrelConfiguration copy()
           
 String[] getAddresses()
           
 String getAddressesAsString()
           
 int getConcurrentConsumers()
           
 List<InetSocketAddress> getInetSocketAddresses()
           
 int getWaitTimeMs()
           
 void setAddresses(String[] addresses)
           
 void setConcurrentConsumers(int concurrentConsumers)
           
 void setWaitTimeMs(int waitTimeMs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_KESTREL_PORT

public static final int DEFAULT_KESTREL_PORT
The default port on which kestrel runs

See Also:
Constant Field Values
Constructor Detail

KestrelConfiguration

public KestrelConfiguration()
Method Detail

getAddresses

public String[] getAddresses()

setAddresses

public void setAddresses(String[] addresses)

getWaitTimeMs

public int getWaitTimeMs()

setWaitTimeMs

public void setWaitTimeMs(int waitTimeMs)

getConcurrentConsumers

public int getConcurrentConsumers()

setConcurrentConsumers

public void setConcurrentConsumers(int concurrentConsumers)

getAddressesAsString

public String getAddressesAsString()

getInetSocketAddresses

public List<InetSocketAddress> getInetSocketAddresses()

copy

public KestrelConfiguration copy()


Apache Camel