public class ScpComponent extends RemoteFileComponent<ScpFile>
REMOTE_FILE_INPUT_STREAMlogshutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending| Constructor and Description |
|---|
ScpComponent() |
ScpComponent(CamelContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterPropertiesSet(GenericFileEndpoint<ScpFile> endpoint)
A factory method for derived file components to perform validation of properties
|
protected GenericFileEndpoint<ScpFile> |
buildFileEndpoint(String uri,
String remaining,
Map<String,Object> parameters)
A factory method for derived file components to create the endpoint
|
protected void |
doStart()
Implementations override this method to support customized start/stop.
|
protected void |
doStop()
Implementations override this method to support customized start/stop.
|
protected void |
initJsch() |
boolean |
isVerboseLogging() |
void |
setVerboseLogging(boolean verboseLogging)
JSCH is verbose logging out of the box.
|
createEndpointcreateComponentConfiguration, createParameterConfigurationMap, getEndpointClass, getParameterConfigurationMap, populateParameterConfigurationMap, setEndpointClassafterConfiguration, createConfiguration, createEndpoint, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, ifStartsWithReturnRemainder, preProcessUri, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURIdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendpublic ScpComponent()
public ScpComponent(CamelContext context)
protected GenericFileEndpoint<ScpFile> buildFileEndpoint(String uri, String remaining, Map<String,Object> parameters) throws Exception
GenericFileComponentbuildFileEndpoint in class GenericFileComponent<ScpFile>uri - the full URI of the endpointremaining - the remaining part of the URI without the query
parameters or component prefixparameters - the optional parameters passed inException - can be thrownprotected void afterPropertiesSet(GenericFileEndpoint<ScpFile> endpoint) throws Exception
GenericFileComponentafterPropertiesSet in class GenericFileComponent<ScpFile>endpoint - the endpointException - can be thrown in case of validation errorsprotected void doStart()
throws Exception
ServiceSupportServiceSupport.doStop() for more details.doStart in class DefaultComponentExceptionServiceSupport.doStop()protected void doStop()
throws Exception
ServiceSupportServiceSupport.doStop() method when
the service is being stopped. This method will also be invoked
if the service is still in uninitialized state (eg has not
been started). The method is always called to allow the service
to do custom logic when the service is being stopped, such as when
CamelContext is shutting down.doStop in class DefaultComponentExceptionServiceSupport.doStart()public boolean isVerboseLogging()
public void setVerboseLogging(boolean verboseLogging)
protected void initJsch()
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.