Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

1. Use the property name if explicit given
2. If no property name was configured, then use the method name
3. Try to get the property with name*Endpoint* (eg with Endpoint as postfix)
4. Try to get the property with the name as is (eg no postfix or postfix)
5. If the property name starts with on then skip omit that, and try step 3 and 4 again.

...

Code Block
  @Consume
  public void onService(String input) {

Now Camel match matches step 5, and loose loses the starting prefix on in the name, and look looks for 'service' as the property. And because there is a getServiceEndpoint method, Camel will use that.

...