Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
foo:bar?exchangePattern=InOnly

From 2.0 onwards on Camel you can specify the ExchangePattern using the dsl.

Code Block

from("mq:someQueue").
  inOnly().
  bean(Foo.class);

or you can invoke an endpoint with an explicit pattern

Code Block

from("mq:someQueue").
  inOnly("mq:AnotherQueue");
Include Page
CAMEL:Using This Pattern
CAMEL:Using This Pattern