Apache Karaf Container 4.x - Documentation| 28 - org.apache.camel.camel-core - 2.20.0 | Exchange[ExchangePattern: InOnly, BodyType: String, Body: Message at 2017-10-13 10:04:11] 2017-10-13 10:04:13,225 | INFO | 7 - timer://test | test | 28 - org.apache.camel.camel-core - 2.20.0 | Exchange[ExchangePattern: InOnly, BodyType: String, Body: Message at 2017-10-13 10:04:13] karaf@root()> bundle:stop example.xml karaf@root()> bundle:uninstall the execution of a command throws an exception • shell:tac captures the STDIN and returns it as a string • shell:tail displays the last lines of the input • shell:threads prints the current thread •0 码力 | 370 页 | 1.03 MB | 1 年前3
Apache Karaf Decanter 2.x - Documentationdecanter.impl.parser.IdentityParser parser to parse the line into a typed Object (Long, Integer or String) before send it to the EventDispatcher data map. IDENTITY PARSER The identity parser doesn’t actually |) #operation.name.rootLogger=org.apache.karaf:type=log,name=root|getLevel|rootLogger|java.lang. String This file harvests the data of the local MBeanServer: • the type property is a name (of your choice) custom DecanterCamelEventExtender: public interface DecanterCamelEventExtender { void extend(Map<String, Object> decanterData, Exchange camelExchange); } You can inject your extender using setExtender(myExtender)0 码力 | 64 页 | 812.01 KB | 1 年前3
Apache Karaf 3.0.5 Guidesuse conditions (if, then, else blocks) in script • shell:tac captures stdin and returns it as a string • shell:clear clears the current console display • shell:info prints various information about config:property-set command, but instead of completely replacing the property value, it appends a string at the end of the property value. For instance, to add 1 at the end of the value of the size property public class Main { public static void main(String[] args) throws Exception { String host = "localhost"; int port = 8101; String user = "karaf"; String password = "karaf"; SshClient client = null;0 码力 | 203 页 | 534.36 KB | 1 年前3
Apache Karaf Decanter 1.x - Documentationpublic interface DecanterCamelEventExtender { void extend(Map<String, Object> decanterData, Exchange camelExchange); } It’s very similar to the Decanter Camel Tracer establishing the initial connection to the Kafka cluster #bootstrap.servers=localhost:9092 # An id string to identify the group where the consumer belongs to #group.id=decanter # Enable auto commit of consumed collectors) into a database. The Decanter JDBC appender transforms the data as a json string. The appender stores the json string and the timestamp into the database. The decanter-appender-jdbc feature installs0 码力 | 67 页 | 213.16 KB | 1 年前3
Apache Karaf Cave 4.x - DocumentationcreateRepository(String name, String location, boolean generate, boolean install) throws Exception; • void destroyRepository(String name) throws Exception; • void installRepository(String name) throws Exception; uninstallRepository(String name) throws Exception; • void populateRepository(String name, String url, boolean generate, String filter) throws Exception; • void proxyRepository(String name, String url, boolean boolean generate, String filter) throws Exception; • void updateRepository(String name) throws Exception; • void uploadArtifact(String repository, String artifactUrl, boolean generate) throws Exception;0 码力 | 11 页 | 88.13 KB | 1 年前3
Apache Karaf Cave 3.x - DocumentationcreateRepository(String name, String location, boolean generateObr, boolean install) throws Exception; • void destroyRepository(String name) throws Exception; • void installRepository(String name) throws uninstallRepository(String name) throws Exception; • void populateRepository(String name, String url, boolean generateObr, String filter) throws Exception; • void proxyRepository(String name, String url, boolean boolean generateObr, String filter) throws Exception; • void updateRepository(String name) throws Exception; • void uploadArtifact(String repository, String artifactUrl, boolean generateObr) throws Exception;0 码力 | 18 页 | 101.41 KB | 1 年前3
共 6 条
- 1













