Slide 1

Slide 1 text

CAMEL 3 AND BEYOND… Red Hat Tech Night #2 2019.5.28 1 / 12

Slide 2

Slide 2 text

Twitter: GitHub: 佐藤 匡剛 さとう ただよし Red Hat Fuse チーム シニアソフトウェアエンジニア tadayosi tadayosi Apache Camel Hawtio 2 / 12

Slide 3

Slide 3 text

APACHE CAMEL Red Hat Fuse のコアエンジン 3 / 12

Slide 4

Slide 4 text

ルーティング DSL from("kafka:topic.order") .choice() .when(header("country").isEqualTo("JP")) .to("http4://japan.intra/order.service") .when(header("country").isEqualTo("US")) .to("mongodb3:datasource.us?...&operation=insert") .otherwise() .to("jms:queue:order.other"); 4 / 12

Slide 5

Slide 5 text

CAMEL 3 5 / 12

Slide 6

Slide 6 text

CAMEL 2 → 3 後⽅互換性の維持 camel-core の軽量&モジュール化 API 整理&技術負債の解消 型安全な Fluent Builder エンドポイント定義の導⼊ 新しいクラウド EIP パターン Quarkus エクステンション Camel-K (前回 の元ネタ) Java 11 サポート タイムボックスリリース 新しいウェブサイト/ドキュメント Based on ’s at Modern Integration and Application Development Day, Milano 2019 RHTN @oscerd presentation 6 / 12

Slide 7

Slide 7 text

FLUENT BUILDER エンドポイント ↓ from("file:inbox?recursive=true&withDelay=2000") .to("jms:queue:cheese?withTimeToLive=5000"); from(file("inbox").recursive().withDelay(2000)) .to(jms("cheese").withTimeToLive(5000)); 7 / 12

Slide 8

Slide 8 text

スケジュール 2019/4 – M2 リリース済 Quarkus サポート / 新レジストリ / Step EIP 2019/6 – M3 リリース Fluent Builder / EIP++ / Quarkus サポート ++ 2019/7~8 – M4 リリース リアクティブ core / Data Shape / Java 11 サポート 2019/9 – GA リリース!(予定) 8 / 12

Slide 9

Slide 9 text

+ 9 / 12

Slide 10

Slide 10 text

$ mvn quarkus:list-extensions ... Current Quarkus extensions available: Status Extension ArtifactId Updat... ... current Camel Core quarkus-camel-core 0.15.0 Camel Infinispan quarkus-camel-infinispan Camel Netty4 HTTP quarkus-camel-netty4-http Camel Salesforce quarkus-camel-salesforce ... $ mvn quarkus:add-extension -Dextensions="quarkus-camel-core" 10 / 12

Slide 11

Slide 11 text

JAPAN CAMEL USER GROUP (JCUG) Camel in Action 2 の読書会を開催中! https://jcug-oss.github.io 11 / 12

Slide 12

Slide 12 text

END 12 / 12