【问题标题】:Camel servlet endpoint - no xml implementationCamel servlet 端点 - 没有 xml 实现
【发布时间】:2017-11-02 19:55:30
【问题描述】:

是否有使用“no-xml”方法实现 Camel servlet 端点的工作(可运行)示例?使用 http-client 进行工作单元测试也很棒。对我来说,设置似乎太“复杂”,不熟悉 servlet 配置。我可以找到的示例主要使用纯 XML 方法。

我在 Spring Boot 上使用 Camel。

【问题讨论】:

    标签: servlets spring-boot apache-camel


    【解决方案1】:

    Camel in Action 第 2 版一书中对此进行了介绍,其中微服务第 7 章中有一个骆驼-servlet 示例。 https://www.manning.com/books/camel-in-action-second-edition

    该示例是更大用例的一部分,但它是评级服务:https://github.com/camelinaction/camelinaction2/tree/master/chapter7/prototype/rating

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2014-11-11
      • 1970-01-01
      • 1970-01-01
      • 2012-11-05
      • 1970-01-01
      • 2015-01-30
      • 1970-01-01
      相关资源
      最近更新 更多