apache-camel 相关问题

Apache Camel是一个功能强大的开源集成框架,基于已知的企业集成模式和强大的Bean集成

如何使用 quarkus 和 apache camel 将队列发送到 weblogic 服务器?

我在 pom.xml 中使用依赖项 org.amqphub.quarkus quarkus-qpid-jms 我的 yml

回答 0 投票 0

如果失去与兔子队列的连接,如何将服务标记为不健康?

在我的应用程序(托管在谷歌云平台上)中,我使用骆驼来制作路线并连接到 rabbitMQ 队列。当与 rabbitMQ 队列的连接丢失时,camel 只会抛出并记录异常...

回答 0 投票 0

CachingConnectionFactory - 无法关闭共享 JMS 连接

在与 apache camel 关联的 spring 框架中关闭 activemq 连接存在问题。 弹簧框架:5.3.19 ActiveMQ:5.16.3 阿帕奇骆驼:3.14.3 2023-03-26 14:22:09,021|信息|[行动...

回答 0 投票 0

在具有这些依赖项的项目中找不到 RouteBuilder

在具有这些依赖项的项目中找不到 RouteBuilder 在具有这些依赖项的项目中找不到 RouteBuilder <?xml version="1.0"?> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <modelVersion>4.0.0</modelVersion> <groupId>br.com.school.integration</groupId> <artifactId>integration</artifactId> <version>1.0.0-SNAPSHOT</version> <properties> <compiler-plugin.version>3.10.1</compiler-plugin.version> <maven.compiler.release>17</maven.compiler.release> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id> <quarkus.platform.group-id>io.quarkus.platform</quarkus.platform.group-id> <quarkus.platform.version>2.16.5.Final</quarkus.platform.version> <skipITs>true</skipITs> <surefire-plugin.version>3.0.0-M7</surefire-plugin.version> </properties> <dependencyManagement> <dependencies> <dependency> <groupId>${quarkus.platform.group-id}</groupId> <artifactId>${quarkus.platform.artifact-id}</artifactId> <version>${quarkus.platform.version}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>${quarkus.platform.group-id}</groupId> <artifactId>quarkus-camel-bom</artifactId> <version>${quarkus.platform.version}</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>org.apache.camel.quarkus</groupId> <artifactId>camel-quarkus-platform-http</artifactId> </dependency> <dependency> <groupId>org.apache.camel.quarkus</groupId> <artifactId>camel-quarkus-rest</artifactId> </dependency> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-arc</artifactId> </dependency> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-junit5</artifactId> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>${quarkus.platform.group-id}</groupId> <artifactId>quarkus-maven-plugin</artifactId> <version>${quarkus.platform.version}</version> <extensions>true</extensions> <executions> <execution> <goals> <goal>build</goal> <goal>generate-code</goal> <goal>generate-code-tests</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>${compiler-plugin.version}</version> <configuration> <compilerArgs> <arg>-parameters</arg> </compilerArgs> </configuration> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> <version>${surefire-plugin.version}</version> <configuration> <systemPropertyVariables> <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager> <maven.home>${maven.home}</maven.home> </systemPropertyVariables> </configuration> </plugin> <plugin> <artifactId>maven-failsafe-plugin</artifactId> <version>${surefire-plugin.version}</version> <executions> <execution> <goals> <goal>integration-test</goal> <goal>verify</goal> </goals> <configuration> <systemPropertyVariables> <native.image.path>${project.build.directory}/${project.build.finalName}-runner</native.image.path> <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager> <maven.home>${maven.home}</maven.home> </systemPropertyVariables> </configuration> </execution> </executions> </plugin> </plugins> </build> <profiles> <profile> <id>native</id> <activation> <property> <name>native</name> </property> </activation> <properties> <skipITs>false</skipITs> <quarkus.package.type>native</quarkus.package.type> </properties> </profile> </profiles> </project>

回答 0 投票 0

如何在骆驼中创建 plc4x 端点

我正在使用 ModbusPal 创建虚拟 modbus。 我将端点 URI 用作: plc4x:modbus-tcp://localhost:502?unitId=1&dataType=holding-register&addresses=1 以下是屏幕...

回答 0 投票 0

org.jboss.jandex.UnsupportedVersion 将 camel 从 2.X 升级到 3.X(以及一般的 camel jandex)

从 camel 2.X 升级到 3.X 后,我的 wildfly 服务器出现以下异常: WFLYSRV0002:注释索引加载失败“Some.ear/APP-INF/lib/camel-core-engine-3.14.7.jar/

回答 1 投票 0

如果达到请求限制则拒绝消息

我是骆驼的新手,正在努力实现如下目标: 我需要处理 5 条并行消息,对于第 6 条消息,Throttler 应该拒绝该消息并抛出一些异常。在更高的版本中...

回答 1 投票 0

Apache Camel 3.17 Adoptium JDK 17 错误 IllegalAccessError:无法从类 javax.activation.MailcapCommandMap 访问类 registries.LogSupport

`我已经将 Camel 3.20 迁移到 JDK 17 Adoptium。 在路由开头调用“.unmarshal().mimeMultipart()”时,出现如下错误。我慢慢地没有想法了。

回答 0 投票 0

如何通过 apache camel 连接 spring boot 应用程序和安全的 activemq

我目前面临的一个问题是,虽然我在我的 application.properties 文件中提供了 activemq 的用户名和密码,但我的 apache camel activemq 仍在读取 def...

回答 0 投票 0

如何通过 apache camel 连接 spring boot 应用程序和安全的 activemq

我目前面临的一个问题是,虽然我在我的 application.properties 文件中提供了 activemq 的用户名和密码,但我的 apache camel activemq 仍在读取 def...

回答 0 投票 0

Apache 骆驼文件 zip

我有一个 Camel 路由,每天晚上都会调用它,通过压缩将前一天的文件从“已处理”文件夹归档到“已归档”文件夹。目前,它正在移动...

回答 0 投票 0

Camel Body: body1 -> body2 -> body1?

我有一个消息正文。然后,我改变它。然后,我想将其重置回原始邮件正文: from("{{route:from}}") // 第 1 步 .setBody("hello world") // 第二步 .setBody...

回答 0 投票 0

Apache camel salesforce 组件 - 如何使用自己的连接参数启动多个路由?

我有多个 salesforce 实例,我想使用 apache camel SalesforceComponent 连接。连接参数(clientId、secret 等)仅在运行时可用,并且不同...

回答 2 投票 0

骆驼路由优雅关机如何在application.xml中配置DefaultShutdownStrategy

我们在 Spring Boot 上使用 Camel,我们有下面的 application.yml 属性文件来配置一些 camel 设置。 我想优雅地关闭我的应用程序和骆驼路线,所以我...

回答 1 投票 0

AWS EKS 上的 Quarkus 本机应用程序 - “exec 格式错误”

我正在尝试将 Quarkus-Camel 本机应用程序部署到 AWS EKS,但收到日志错误: exec ./application: exec 格式错误 该应用程序在我本地的 minikube 环境中运行良好,我确保...

回答 1 投票 0

启动 Camel Spring DSL 路由

我是使用 Camel Spring DSL 路由的新手。我的经验主要是使用 Java DSL。 我最近看了一个基于 Camel Spring DSL 的项目并注意到

回答 1 投票 0

使用 LRA 协调器的 Apache Camel Saga 配置

有人可以帮助我了解如何在 Springboot 中使用 LRA 协调器配置 Apache Camel Saga。我试过文档,但不幸的是,文档不是那么清楚,我

回答 1 投票 0

在 Apache Camel 中从 Google Pubsub 轮询数据时如何处理错误

我为来自 Google Pubsub 主题的投票数据开发了一个 Camel 项目。这是我的 Pubsub 路线。 from("google-pubsub:xProjectx:xTopicx?maxMessagesPerPoll=20&concurrentConsumers=10&ackMode=...

回答 0 投票 0

Quarkus 上的 Apache Camel - CXF SOAP - 本地主机问题:8080

我正在使用 Quarkus Apache Camel。我想使用 camel-quarkus-cxf-soap。我试过这个: https://code.quarkus.io/?e=org.apache.camel.quarkus%3Acamel-quarkus-cxf-soap&extension-search=camel-quarkus-...

回答 0 投票 0

如何在 CamelTestSupport 中添加模块“com.fasterxml.jackson.datatype:jackson-datatype-jsr310”

我正在创建一个扩展 CamelTestSupport 的测试。我正在使用 Apache Camel 3.10。我试图在 createRouteBuilder 的测试中设置 JavaTimeModule(), 公共 ObjectMapper

回答 0 投票 0

© www.soinside.com 2019 - 2024. All rights reserved.