Class SubmitDataWriter
- java.lang.Object
-
- org.apache.camel.component.splunk.support.SplunkDataWriter
-
- org.apache.camel.component.splunk.support.SubmitDataWriter
-
- All Implemented Interfaces:
DataWriter
public class SubmitDataWriter extends SplunkDataWriter
-
-
Field Summary
-
Fields inherited from class org.apache.camel.component.splunk.support.SplunkDataWriter
args, endpoint
-
-
Constructor Summary
Constructors Constructor Description SubmitDataWriter(SplunkEndpoint endpoint, com.splunk.Args args)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SocketcreateSocket(com.splunk.Service service)protected voiddoWrite(String event)voidsetIndex(String index)-
Methods inherited from class org.apache.camel.component.splunk.support.SplunkDataWriter
isConnected, start, stop, write, write
-
-
-
-
Constructor Detail
-
SubmitDataWriter
public SubmitDataWriter(SplunkEndpoint endpoint, com.splunk.Args args)
-
-
Method Detail
-
doWrite
protected void doWrite(String event) throws IOException
- Overrides:
doWritein classSplunkDataWriter- Throws:
IOException
-
createSocket
protected Socket createSocket(com.splunk.Service service) throws IOException
- Specified by:
createSocketin classSplunkDataWriter- Throws:
IOException
-
setIndex
public void setIndex(String index)
-
-