308.5. コンシューマーの使用
308.5.2. InOnly コンシューマー - (デフォルト)
リンクのコピーリンクがクリップボードにコピーされました!
InOnly consumer は、SJMS2 consumer エンドポイントのデフォルトの Exchange 動作です。
from("sjms2:queue:bar")
    .to("mock:result");
from("sjms2:queue:bar")
    .to("mock:result");308.5.3. InOut コンシューマー
リンクのコピーリンクがクリップボードにコピーされました!
						InOut 動作を有効にするには、exchangePattern 属性を URI に追加します。
					
from("sjms2:queue:in.out.test?exchangePattern=InOut")
    .transform(constant("Bye Camel"));
from("sjms2:queue:in.out.test?exchangePattern=InOut")
    .transform(constant("Bye Camel"));