@UriParams public class RouteboxConfiguration extends Object
Constructor and Description |
---|
RouteboxConfiguration() |
RouteboxConfiguration(URI uri) |
Modifier and Type | Method and Description |
---|---|
String |
getAuthority() |
long |
getConnectionTimeout() |
Map<String,String> |
getDispatchMap() |
RouteboxDispatchStrategy |
getDispatchStrategy() |
org.apache.camel.CamelContext |
getInnerContext() |
org.apache.camel.ProducerTemplate |
getInnerProducerTemplate()
The ProducerTemplate to use by the internal embeded CamelContext
|
String |
getInnerProtocol() |
org.apache.camel.spi.Registry |
getInnerRegistry() |
long |
getPollInterval() |
int |
getQueueSize() |
String |
getRouteboxName() |
List<org.apache.camel.builder.RouteBuilder> |
getRouteBuilders() |
int |
getThreads() |
URI |
getUri() |
boolean |
isForkContext() |
boolean |
isSendToConsumer() |
void |
parseURI(URI uri,
Map<String,Object> parameters,
RouteboxComponent component) |
void |
setAuthority(String authority) |
void |
setConnectionTimeout(long connectionTimeout)
Timeout in millis used by the producer when sending a message.
|
void |
setDispatchMap(Map<String,String> dispatchMap)
A string representing a key in the Camel Registry matching an object value of the type HashMap
|
void |
setDispatchStrategy(RouteboxDispatchStrategy dispatchStrategy)
To use a custom RouteboxDispatchStrategy which allows to use custom dispatching instead of the default.
|
void |
setForkContext(boolean forkContext)
Whether to fork and create a new inner CamelContext instead of reusing the same CamelContext.
|
void |
setInnerContext(org.apache.camel.CamelContext innerContext)
A string representing a key in the Camel Registry matching an object value of the type org.apache.camel.CamelContext.
|
void |
setInnerProducerTemplate(org.apache.camel.ProducerTemplate innerProducerTemplate) |
void |
setInnerProtocol(String innerProtocol)
The Protocol used internally by the Routebox component.
|
void |
setInnerRegistry(org.apache.camel.spi.Registry innerRegistry)
To use a custom registry for the internal embedded CamelContext.
|
void |
setPollInterval(long pollInterval)
The timeout used when polling from seda.
|
void |
setQueueSize(int queueSize)
Create a fixed size queue to receive requests.
|
void |
setRouteboxName(String routeboxName)
Logical name for the routebox (eg like a queue name)
|
void |
setRouteBuilders(List<org.apache.camel.builder.RouteBuilder> routeBuilders)
A string representing a key in the Camel Registry matching an object value of the type List
|
void |
setSendToConsumer(boolean sendToConsumer)
Dictates whether a Producer endpoint sends a request to an external routebox consumer.
|
void |
setThreads(int threads)
Number of threads to be used by the routebox to receive requests.
|
void |
setUri(URI uri) |
public RouteboxConfiguration()
public RouteboxConfiguration(URI uri)
public void parseURI(URI uri, Map<String,Object> parameters, RouteboxComponent component) throws Exception
Exception
public URI getUri()
public void setUri(URI uri)
public String getAuthority()
public void setAuthority(String authority)
public org.apache.camel.CamelContext getInnerContext()
public void setInnerContext(org.apache.camel.CamelContext innerContext)
public void setRouteBuilders(List<org.apache.camel.builder.RouteBuilder> routeBuilders)
public List<org.apache.camel.builder.RouteBuilder> getRouteBuilders()
public void setForkContext(boolean forkContext)
public boolean isForkContext()
public void setThreads(int threads)
public int getThreads()
public void setRouteboxName(String routeboxName)
public String getRouteboxName()
public void setDispatchStrategy(RouteboxDispatchStrategy dispatchStrategy)
public RouteboxDispatchStrategy getDispatchStrategy()
public void setConnectionTimeout(long connectionTimeout)
public long getConnectionTimeout()
public long getPollInterval()
public void setPollInterval(long pollInterval)
public void setQueueSize(int queueSize)
public int getQueueSize()
public void setInnerProducerTemplate(org.apache.camel.ProducerTemplate innerProducerTemplate)
public org.apache.camel.ProducerTemplate getInnerProducerTemplate()
public void setInnerProtocol(String innerProtocol)
public String getInnerProtocol()
public void setInnerRegistry(org.apache.camel.spi.Registry innerRegistry)
public org.apache.camel.spi.Registry getInnerRegistry()
public void setSendToConsumer(boolean sendToConsumer)
public boolean isSendToConsumer()
public void setDispatchMap(Map<String,String> dispatchMap)
Apache Camel