org.apache.camel.component.splunk.support
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubmitDataWriter
public SubmitDataWriter(SplunkEndpoint endpoint,
com.splunk.Args args)
doWrite
protected void doWrite(SplunkEvent event)
throws IOException
- Overrides:
doWrite
in class SplunkDataWriter
- Throws:
IOException
createSocket
protected Socket createSocket(com.splunk.Service service)
throws IOException
- Specified by:
createSocket
in class SplunkDataWriter
- Throws:
IOException
setIndex
public void setIndex(String index)
Apache Camel