Babel :: Experimental :: Parent

Babel experimental modules such as Java API

Лицензия

Лицензия

Группа

Группа

io.xtech.babel
Идентификатор

Идентификатор

babel-experimental-parent
Последняя версия

Последняя версия

0.6.0
Дата

Дата

Тип

Тип

pom
Описание

Описание

Babel :: Experimental :: Parent
Babel experimental modules such as Java API
Ссылка на сайт

Ссылка на сайт

http://www.crossing-tech.com
Система контроля версий

Система контроля версий

https://github.com/Crossing-Tech/babel-experimental.git

Скачать babel-experimental-parent

Имя Файла Размер
babel-experimental-parent-0.6.0.pom 9 KB
Обзор

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/io.xtech.babel/babel-experimental-parent/ -->
<dependency>
    <groupId>io.xtech.babel</groupId>
    <artifactId>babel-experimental-parent</artifactId>
    <version>0.6.0</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/io.xtech.babel/babel-experimental-parent/
implementation 'io.xtech.babel:babel-experimental-parent:0.6.0'
// https://jarcasting.com/artifacts/io.xtech.babel/babel-experimental-parent/
implementation ("io.xtech.babel:babel-experimental-parent:0.6.0")
'io.xtech.babel:babel-experimental-parent:pom:0.6.0'
<dependency org="io.xtech.babel" name="babel-experimental-parent" rev="0.6.0">
  <artifact name="babel-experimental-parent" type="pom" />
</dependency>
@Grapes(
@Grab(group='io.xtech.babel', module='babel-experimental-parent', version='0.6.0')
)
libraryDependencies += "io.xtech.babel" % "babel-experimental-parent" % "0.6.0"
[io.xtech.babel/babel-experimental-parent "0.6.0"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

Babel experimental

Build Status

Master: Build Status Coverage Status

This project contains future improvement of the Babel project:

  • Babel Camel Lambda : a java 8 DSL for Apache Camel

Those projects are still into prototyping or into test phase.

If you have any feedback or comment, please post it on the Babel google group: https://groups.google.com/forum/#!forum/babel-user

Babel Camel Lambda

Babel Camel Lambda is a DSL for Apache Camel provided for Java users

In order to use the Babel DSL for Camel with Java, add the following to your maven dependencies:

<dependency>
    <groupId>io.xtech.babel</groupId>
    <artifactId>babel-camel-lambda</artifactId>
    <version>BABEL_VERSION</version>
</dependency>

Then, you may create your route using the DSL

import io.xtech.babel.camel.lambda.RouteBuilder;

RouteBuilder routeBuilder = new RouteBuilder() {
    @Override
    public void configure() {
        //take messages from direct input, transforming their body into String
        from(source("direct:input")).as(String.class).
                //computes the lenght of the string
                processBody((str) -> str.length()).
                //routing the exchanges
                choice((w) -> {
                        //if the length is 3 to output1
                        w.when((O) -> O == 3).to(sink("mock:output1"));
                        //otherwise to output2
                        w.otherwise().to(sink("mock:output2"));
        });
    }
};
io.xtech.babel

Crossing-Tech SA

Версии библиотеки

Версия
0.6.0