Versions Compared

Key

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

...

In Camel 2.3 you can define that proxied methods which has void as return type, can be treated as Event Message Fire and Forget messaging style (aka InOnly). This is done by setting the attribute voidAsInOnly=true in the <proxy/> tag. If you let it be the default value, which is InOut then a void method will still wait for the message to be completely routed. This is not always what you want and hence you can use this option to turn it onto a fire and forget style. BTW: You can also add the @InOnly annotation to the method on the interface to tell Camel that this method is InOnly.

...