public final class CamelSpark extends Object
Modifier and Type | Method and Description |
---|---|
static void |
ipAddress(String ip)
Configures the IP address to use
|
static void |
port(int port)
Configures the port number to use
|
static void |
security(String keystoreFile,
String keystorePassword,
String truststoreFile,
String truststorePassword)
Configures connection to be secure
|
static void |
spark(String verb,
String path,
String accept,
spark.Route route)
Adds a Spark REST verb that routes to the given spark route
|
static void |
stop()
Stops the Spark Server
|
static void |
threadPool(int minThreads,
int maxThreads,
int timeOutMillis)
Configures the thread pool
|
public static void stop()
public static void port(int port)
public static void ipAddress(String ip)
public static void threadPool(int minThreads, int maxThreads, int timeOutMillis)
public static void security(String keystoreFile, String keystorePassword, String truststoreFile, String truststorePassword)
Apache Camel