搜索

239.4. Headers

download PDF
Name类型描述

CamelNatsMessageTimestamp

long

所消耗的消息的时间戳。

生成者示例:

from("direct:send").to("nats://localhost:4222?topic=test");

如果使用授权,您可以在服务器 URL 中直接指定凭证

from("direct:send").to("nats://username:password@localhost:4222?topic=test");

或您的令牌

from("direct:send").to("nats://token@localhost:4222?topic=test");

消费者示例:

from("nats://localhost:4222?topic=test&maxMessages=5&queueName=test").to("mock:result");
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.