Red Hat Training

A Red Hat training course is available for Red Hat Fuse

226.3. ヘッダー

名前タイプ説明

CamelNatsMessageTimestamp

long

消費されたメッセージのタイムスタンプ。

CamelNatsSubscriptionId

Integer

コンシューマーのサブスクリプション ID。

  プロデューサーの例:

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

 

コンシューマーの例:

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