org.apache.camel.component.splunk.support
Class SubmitDataWriter

java.lang.Object
  extended by org.apache.camel.component.splunk.support.SplunkDataWriter
      extended by 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
SubmitDataWriter(SplunkEndpoint endpoint, com.splunk.Args args)
           
 
Method Summary
protected  Socket createSocket(com.splunk.Service service)
           
protected  void doWrite(SplunkEvent event)
           
 void setIndex(String index)
           
 
Methods inherited from class org.apache.camel.component.splunk.support.SplunkDataWriter
isConnected, start, stop, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubmitDataWriter

public SubmitDataWriter(SplunkEndpoint endpoint,
                        com.splunk.Args args)
Method Detail

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