@UriEndpoint(scheme="stream",
title="Stream",
syntax="stream:url",
consumerClass=StreamConsumer.class,
label="file,system")
public class StreamEndpoint
extends org.apache.camel.impl.DefaultEndpoint
| Constructor and Description |
|---|
StreamEndpoint(String endpointUri)
Deprecated.
|
StreamEndpoint(String endpointUri,
org.apache.camel.Component component) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
protected org.apache.camel.Exchange |
createExchange(Object body,
long index,
boolean last) |
org.apache.camel.Producer |
createProducer() |
protected void |
doStart() |
int |
getAutoCloseCount() |
Charset |
getCharset() |
long |
getDelay() |
String |
getEncoding() |
String |
getFileName() |
int |
getGroupLines() |
GroupStrategy |
getGroupStrategy() |
long |
getInitialPromptDelay() |
long |
getPromptDelay() |
String |
getPromptMessage() |
long |
getScanStreamDelay() |
String |
getUrl() |
boolean |
isCloseOnDone() |
boolean |
isRetry() |
boolean |
isScanStream() |
boolean |
isSingleton() |
void |
setAutoCloseCount(int autoCloseCount) |
void |
setCloseOnDone(boolean closeOnDone) |
void |
setDelay(long delay) |
void |
setEncoding(String encoding) |
void |
setFileName(String fileName) |
void |
setGroupLines(int groupLines) |
void |
setGroupStrategy(GroupStrategy strategy) |
void |
setInitialPromptDelay(long initialPromptDelay) |
void |
setPromptDelay(long promptDelay) |
void |
setPromptMessage(String promptMessage) |
void |
setRetry(boolean retry) |
void |
setScanStream(boolean scanStream) |
void |
setScanStreamDelay(long scanStreamDelay) |
void |
setUrl(String url) |
configureConsumer, configurePollingConsumer, configureProperties, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStop, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExchangePattern, getId, getPollingConsumerQueueSize, hashCode, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendpublic StreamEndpoint(String endpointUri, org.apache.camel.Component component) throws Exception
Exception@Deprecated public StreamEndpoint(String endpointUri)
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
Exceptionpublic boolean isSingleton()
protected org.apache.camel.Exchange createExchange(Object body, long index, boolean last)
public String getFileName()
public void setFileName(String fileName)
public String getUrl()
public void setUrl(String url)
public long getDelay()
public void setDelay(long delay)
public String getEncoding()
public void setEncoding(String encoding)
public String getPromptMessage()
public void setPromptMessage(String promptMessage)
public long getPromptDelay()
public void setPromptDelay(long promptDelay)
public long getInitialPromptDelay()
public void setInitialPromptDelay(long initialPromptDelay)
public boolean isScanStream()
public void setScanStream(boolean scanStream)
public GroupStrategy getGroupStrategy()
public void setGroupStrategy(GroupStrategy strategy)
public boolean isRetry()
public void setRetry(boolean retry)
public boolean isCloseOnDone()
public void setCloseOnDone(boolean closeOnDone)
public long getScanStreamDelay()
public void setScanStreamDelay(long scanStreamDelay)
public int getGroupLines()
public void setGroupLines(int groupLines)
public int getAutoCloseCount()
public void setAutoCloseCount(int autoCloseCount)
public Charset getCharset()
Apache Camel