...
Note that the service is not mandatory; since the Bean component and the various other forms of Bean Integration can be used to route any message exchange to a bean, so you can miss out the serviceExporter if you prefer. The main value of the service exporter is its a single XML element to bind a URI to a bean and it allows the full API of the bean to be restricted by a serviceInterface.
Working with InOnly method calls
As of 1.5 Camel supports the @InOnly and @Pattern annotations to let you specify which methods are not InOut (request/reply) but are InOnly (oneway, fire and forget method calls).
For more details see Using Exchange Pattern Annotations
Include Page | ||||
---|---|---|---|---|
|