239.3. ヘッダー
名前 | タイプ | 説明 |
---|---|---|
CamelNatsMessageTimestamp | long | 消費されたメッセージのタイムスタンプ。 |
CamelNatsSubscriptionId | Integer | コンシューマーのサブスクリプション ID。 |
プロデューサーの例:
from("direct:send").to("nats://localhost:4222?topic=test");
from("direct:send").to("nats://localhost:4222?topic=test");
コンシューマーの例:
from("nats://localhost:4222?topic=test&maxMessages=5&queueName=test").to("mock:result");
from("nats://localhost:4222?topic=test&maxMessages=5&queueName=test").to("mock:result");