第 329 章 STOMP 组件

作为 Camel 2.12 版本提供

stomp: 组件用于与 Stomp 兼容消息代理(如 Apache ActiveMQActiveMQ Apollo)通信

Maven 用户需要将以下依赖项添加到其 pom.xml 中:

<dependency>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-stomp</artifactId>
    <version>x.x.x</version>
    <!-- use the same version as your Camel core version -->
</dependency>

329.1. URI 格式

stomp:queue:destination[?options]

其中 destination 是队列的名称。