@UriEndpoint(scheme="openshift",
title="OpenShift",
syntax="openshift:clientId",
consumerClass=OpenShiftConsumer.class,
label="cloud,paas")
public class OpenShiftEndpoint
extends ScheduledPollEndpoint
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending| Constructor and Description |
|---|
OpenShiftEndpoint(String endpointUri,
Component component) |
| Modifier and Type | Method and Description |
|---|---|
Consumer |
createConsumer(Processor processor)
Creates a new Event
Driven Consumer which consumes messages from the endpoint using the
given processor
|
Exchange |
createExchange(com.openshift.client.IApplication application) |
Producer |
createProducer()
Creates a new producer which is used send messages into the endpoint
|
String |
getApplication() |
String |
getClientId() |
String |
getDomain() |
String |
getMode() |
String |
getOperation() |
String |
getPassword() |
String |
getServer() |
String |
getUsername() |
boolean |
isSingleton()
Whether this class supports being singleton or not.
|
void |
setApplication(String application)
The application name to start, stop, restart, or get the state.
|
void |
setClientId(String clientId)
The client id
|
void |
setDomain(String domain)
Domain name.
|
void |
setMode(String mode)
Whether to output the message body as a pojo or json.
|
void |
setOperation(OpenShiftOperation operation) |
void |
setOperation(String operation)
The operation to perform which can be: list, start, stop, restart, and state.
|
void |
setPassword(String password)
The password for login to openshift server.
|
void |
setServer(String server)
Url to the openshift server.
|
void |
setUsername(String username)
The username to login to openshift server.
|
configurePollingConsumer, configureProperties, configureScheduledPollConsumerProperties, doStart, doStop, getBackoffErrorThreshold, getBackoffIdleThreshold, getBackoffMultiplier, getDelay, getInitialDelay, getPollStrategy, getRunLoggingLevel, getScheduledExecutorService, getScheduler, getSchedulerProperties, getTimeUnit, initConsumerProperties, isGreedy, isSendEmptyMessageWhenIdle, isStartScheduler, isUseFixedDelay, setBackoffErrorThreshold, setBackoffIdleThreshold, setBackoffMultiplier, setDelay, setGreedy, setInitialDelay, setPollStrategy, setRunLoggingLevel, setScheduledExecutorService, setScheduler, setScheduler, setSchedulerProperties, setSendEmptyMessageWhenIdle, setStartScheduler, setTimeUnit, setUseFixedDelayconfigureConsumer, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBridgeErrorHandler, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setBridgeErrorHandler, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendpublic Producer createProducer() throws Exception
EndpointException - can be thrownpublic Consumer createConsumer(Processor processor) throws Exception
Endpointprocessor - the given processorException - can be thrownpublic Exchange createExchange(com.openshift.client.IApplication application)
public boolean isSingleton()
IsSingletonpublic String getUsername()
public void setUsername(String username)
public String getPassword()
public void setPassword(String password)
public String getClientId()
public void setClientId(String clientId)
public String getDomain()
public void setDomain(String domain)
public String getServer()
public void setServer(String server)
public String getOperation()
public void setOperation(String operation)
public void setOperation(OpenShiftOperation operation)
public String getApplication()
public void setApplication(String application)
public String getMode()
public void setMode(String mode)
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.